scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show() (Linux Linux)

CVE-2023-53676
HIGH 8.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Fix buffer overflow in lio_target_nacl_info_show() The function lio_target_nacl_info_show() uses sprintf() in a loop to print details for every iSCSI connection in a session without checking for the buffer length. With enough iSCSI connections it's possible to overflow the buffer provided by configfs and corrupt the memory. This patch replaces sprintf() with sysfs_emit_at() that checks for buffer boundries.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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 e48354ce078c079996f89d715dfa44814b4eba01 < df349e84c2cb0dd05d98c8e1189c26ab4b116083 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 114b44dddea1f8f99576de3c0e6e9059012002fc ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 2cbe6a88fbdd6e8aeab358eef61472e2de43d6f6 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < bbe3ff47bf09db8956bc2eeb49d2d514d256ad2a ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 5353df78c22623b42a71d51226d228a8413097e2 ; affected e48354ce078c079996f89d715dfa44814b4eba01 < 4738bf8b2d3635c2944b81b2a84d97b8c8b0978d
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 4.14.326 ≤ 4.14.* ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.197 ≤ 5.10.*

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