sctp: fix a potential overflow in sctp_ifwdtsn_skip (Linux Linux)

CVE-2023-53372
HIGH 8.2

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: sctp: fix a potential overflow in sctp_ifwdtsn_skip Currently, when traversing ifwdtsn skips with _sctp_walk_ifwdtsn, it only checks the pos against the end of the chunk. However, the data left for the last pos may be < sizeof(struct sctp_ifwdtsn_skip), and dereference it as struct sctp_ifwdtsn_skip may cause coverflow. This patch fixes it by checking the pos against "the end of the chunk - sizeof(struct sctp_ifwdtsn_skip)" in sctp_ifwdtsn_skip, similar to sctp_fwdtsn_skip.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCISA-ADP
CVSS 3.1HIGH 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < 4fbd094d4131a10d06a45d64158567052a35b3f4 ; affected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < ad831a7079c99c01e801764b53bc9997c2e9c0f7 ; affected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < 79b28f42214a3d0d6a8c514db3602260bd5d6cb5 ; affected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < 6109f5b13ce3e3e537db6f18976ec0e9118d1c6f ; affected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < 5c9367ac5a22d71841bcd00130f9146c9b227d57 ; affected 0fc2ea922c8ad5520c80f03facbf396c81dce802 < ad988e9b5ff04607e624a459209e8c2d0c15fc73
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 4.19.281 ≤ 4.19.* ; unaffected 5.4.241 ≤ 5.4.* ; unaffected 5.10.178 ≤ 5.10.* ; unaffected 5.15.108 ≤ 5.15.*

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