CVE-2022-48711

tipc: improve size validations for received domain records

CRITICAL 9.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: tipc: improve size validations for received domain records The function tipc_mon_rcv() allows a node to receive and process domain_record structs from peer nodes to track their views of the network topology. This patch verifies that the number of members in a received domain record does not exceed the limit defined by MAX_MON_DOMAIN, something that may otherwise lead to a stack overflow. tipc_mon_rcv() is called from the function tipc_link_proto_rcv(), where we are reading a 32 bit message data length field into a uint16. To avert any risk of bit overflow, we add an extra sanity check for this in that function. We cannot see that happen with the current code, but future designers being unaware of this risk, may introduce it by allowing delivery of very large (> 64k) sk buffers from the bearer layer. This potential problem was identified by Eric Dumazet. This fixes CVE-2022-0435

Faiblesses (CWE)

  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LCISA-ADP
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LNVD · 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 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < 175db196e45d6f0e6047eccd09c8ba55465eb131 ; affected 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < fde4ddeadd099bf9fbb9ccbee8e1b5c20d530a2d ; affected 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < f1af11edd08dd8376f7a84487cbb0ea8203e3a1d ; affected 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < d692e3406e052dbf9f6d9da0cba36cb763272529 ; affected 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < 3c7e5943553594f68bbc070683db6bb6f6e9e78e ; affected 35c55c9877f8de0ab129fa1a309271d0ecc868b9 < 1f1788616157b0222b0c2153828b475d95e374a7
Linux · Linuxaffected 4.8 ; unaffected 0 < 4.8 ; unaffected 4.9.301 ≤ 4.9.* ; unaffected 4.14.266 ≤ 4.14.* ; unaffected 4.19.229 ≤ 4.19.* ; unaffected 5.4.179 ≤ 5.4.*

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