ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf() (Linux Linux)

CVE-2022-50050
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf() snprintf() returns the would-be-filled size when the string overflows the given buffer size, hence using this value may result in the buffer overflow (although it's unrealistic). This patch replaces with a safer version, scnprintf() for papering over such a potential issue.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 < 6ee1310f4d148dbf04c4159b88afd0b941018903 ; affected 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 < f7915c5614a7ece117ec390f21a410531eac48de ; affected 29c8e4398f02adacd429c7847dacc8aea5a0c2f1 < 94c1ceb043c1a002de9649bb630c8e8347645982
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.15.63 ≤ 5.15.* ; unaffected 5.19.4 ≤ 5.19.* ; unaffected 6.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD