Libnbd: crash or misbehaviour when nbd server returns an unexpected block size (Red Hat Red Hat Enterprise Linux 9)

CVE-2023-5215
MEDIUM 5.3

En bref

Source
NVD
EPSS
EPSS 0.81 % · centile 57 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

Description

A flaw was found in libnbd. A server can reply with a block size larger than 2^63 (the NBD spec states the size is a 64-bit unsigned value). This issue could lead to an application crash or other unintended behavior for NBD clients that doesn't treat the return value of the nbd_get_size() function correctly.

Faiblesses (CWE)

  • CWE-241 — Gestion incorrecte d'un type de donnée inattendu
  • CWE-252 — Valeur de retour non vérifiée

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Red Hat · Red Hat Enterprise Linux 9unaffected 0:1.18.1-3.el9 < *
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 8 Advanced Virtualization
Red Hat · Red Hat Enterprise Linux 8 Advanced Virtualization

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
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