tracing: Consider the NULL character when validating the event length (Linux Linux)

CVE-2024-50131
HIGH 7.3

En bref

Source
NVD
EPSS
EPSS 0.25 % · centile 16 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: tracing: Consider the NULL character when validating the event length strlen() returns a string length excluding the null byte. If the string length equals to the maximum buffer length, the buffer will have no space for the NULL terminating character. This commit checks this condition and returns failure for it.

Faiblesses (CWE)

  • CWE-120 — Copie de tampon sans vérification de taille (débordement classique)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux
CVSS 3.1HIGH 7.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 dec65d79fd269d05427c8167090bfc9c3d0b56c4 < 5e3231b352725ff4a3a0095e6035af674f2d8725 ; affected dec65d79fd269d05427c8167090bfc9c3d0b56c4 < 02874ca52df2ca2423ba6122039315ed61c25972 ; affected dec65d79fd269d05427c8167090bfc9c3d0b56c4 < b86b0d6eea204116e4185acc35041ca4ff11a642 ; affected dec65d79fd269d05427c8167090bfc9c3d0b56c4 < f4ed40d1c669bba1a54407d8182acdc405683f29 ; affected dec65d79fd269d05427c8167090bfc9c3d0b56c4 < a14a075a14af8d622c576145455702591bdde09d ; affected dec65d79fd269d05427c8167090bfc9c3d0b56c4 < 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7
Linux · Linuxaffected 5.1 ; unaffected 0 < 5.1 ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.229 ≤ 5.10.* ; unaffected 5.15.170 ≤ 5.15.* ; unaffected 6.1.115 ≤ 6.1.*

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