libnbd
At a glance
- Source
- NVD
- EPSS
- EPSS 1.04 % Β· percentile 64 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.
Weaknesses (CWE)
- CWE-252 β Unchecked Return Value
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2046194
- https://bugzilla.redhat.com/show_bug.cgi?id=2050324
- https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html
- https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb
- https://access.redhat.com/security/cve/CVE-2022-0485
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2022-15622
- GCVE Β· GCVE-0-2022-0485
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:libnbd:*:*:*:*:*:*:*:*< 1.11.8cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:advanced_virtualization:*:*:*
Affected products
| Product | Versions |
|---|---|
| libnbd | affected Fixed in libnbd v1.11.8 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |