{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-0485 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2022-0485 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 29 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0485 and fix it if it is affected.\n\nWhat it is: CVE-2022-0485 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 29 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-0485 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-0485/ (Markdown: https://insights.sbomify.com/CVE-2022-0485/index.md)","id":"CVE-2022-0485","markdown":"https://insights.sbomify.com/CVE-2022-0485/index.md","name":"CVE-2022-0485","record":{"aliases":["DEBIAN-CVE-2022-0485","GHSA-cfv5-3vm4-4jfp","RHSA-2022:2181","SUSE-SU-2022:2347-1","SUSE-SU-2022:2754-1","UBUNTU-CVE-2022-0485","openSUSE-SU-2024:11833-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"libnbd copying tool","requires_auth":"none","summary":"A flaw in libnbd's nbdcopy tool ignores asynchronous errors, potentially leading to silent creation of corrupted destination images during multi-threaded copies.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"enterprise_linux","vendor":"redhat"},{"product":"libnbd","vendor":"redhat"}],"cvss":{"score":4.8,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-252","name":"Unchecked Return Value"}],"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.","ecosystems":["Red Hat:advanced_virtualization:8.6::el8","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Other in libnbd","id":"CVE-2022-0485","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"other","year":"2022"},"n_packages":235,"n_references":5,"next":{"headline":"Privileged Command Injection Vulnerability in Fidelis Network and Deception","id":"CVE-2022-0486"},"packages":[{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:20210217-1.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"SLOF","purl":"pkg:rpm/redhat/SLOF","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.3.18-23.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/redhat/hivex","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.3.18-23.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"hivex-debuginfo","purl":"pkg:rpm/redhat/hivex-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.3.18-23.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"hivex-debugsource","purl":"pkg:rpm/redhat/hivex-debugsource","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.3.18-23.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/redhat/hivex-devel","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/redhat/libguestfs","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/redhat/libguestfs-appliance","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/redhat/libguestfs-bash-completion","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debuginfo","purl":"pkg:rpm/redhat/libguestfs-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debugsource","purl":"pkg:rpm/redhat/libguestfs-debugsource","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-devel","purl":"pkg:rpm/redhat/libguestfs-devel","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gfs2","purl":"pkg:rpm/redhat/libguestfs-gfs2","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject","purl":"pkg:rpm/redhat/libguestfs-gobject","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-debuginfo","purl":"pkg:rpm/redhat/libguestfs-gobject-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-devel","purl":"pkg:rpm/redhat/libguestfs-gobject-devel","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/redhat/libguestfs-inspect-icons","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java","purl":"pkg:rpm/redhat/libguestfs-java","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-debuginfo","purl":"pkg:rpm/redhat/libguestfs-java-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-devel","purl":"pkg:rpm/redhat/libguestfs-java-devel","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-javadoc","purl":"pkg:rpm/redhat/libguestfs-javadoc","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-ja","purl":"pkg:rpm/redhat/libguestfs-man-pages-ja","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-uk","purl":"pkg:rpm/redhat/libguestfs-man-pages-uk","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/redhat/libguestfs-rescue","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/redhat/libguestfs-rsync","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools","purl":"pkg:rpm/redhat/libguestfs-tools","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c","purl":"pkg:rpm/redhat/libguestfs-tools-c","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c-debuginfo","purl":"pkg:rpm/redhat/libguestfs-tools-c-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:8.6-1.module+el8.6.0+12721+8d053ff2"],"introduced":["0"],"last_affected":[],"package":"libguestfs-winsupport","purl":"pkg:rpm/redhat/libguestfs-winsupport","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["1:1.44.0-5.module+el8.6.0+13879+1439f356"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/redhat/libguestfs-xfs","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/redhat/libiscsi","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi-debuginfo","purl":"pkg:rpm/redhat/libiscsi-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi-debugsource","purl":"pkg:rpm/redhat/libiscsi-debugsource","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/redhat/libiscsi-devel","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/redhat/libiscsi-utils","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.18.0-8.module+el8.4.0+8855+a9e237a9"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils-debuginfo","purl":"pkg:rpm/redhat/libiscsi-utils-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.6.0-5.module+el8.6.0+14167+61b0e671"],"introduced":["0"],"last_affected":[],"package":"libnbd","purl":"pkg:rpm/redhat/libnbd","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.6.0-5.module+el8.6.0+14167+61b0e671"],"introduced":["0"],"last_affected":[],"package":"libnbd-bash-completion","purl":"pkg:rpm/redhat/libnbd-bash-completion","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.6.0-5.module+el8.6.0+14167+61b0e671"],"introduced":["0"],"last_affected":[],"package":"libnbd-debuginfo","purl":"pkg:rpm/redhat/libnbd-debuginfo","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.6.0-5.module+el8.6.0+14167+61b0e671"],"introduced":["0"],"last_affected":[],"package":"libnbd-debugsource","purl":"pkg:rpm/redhat/libnbd-debugsource","source":"RHSA-2022:2181"},{"ecosystem":"Red Hat:advanced_virtualization:8.6::el8","fixed":["0:1.6.0-5.module+el8.6.0+14167+61b0e671"],"introduced":["0"],"last_affected":[],"package":"libnbd-devel","purl":"pkg:rpm/redhat/libnbd-devel","source":"RHSA-2022:2181"}],"prev":{"headline":"Improper URL Validation causes Mirantis Container Cloud Lens Extension to open external programs","id":"CVE-2022-0484"},"products":["libnbd"],"published":"2022-08-29","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss RichFaces Framework Expression Language Injection","id":"CVE-2018-14667","kev_date_added":"2023-09-28","published":"2018-11-06"},{"cvss_score":9.8,"headline":"Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit","id":"CVE-2021-20325","kev_date_added":null,"published":"2022-02-18"},{"cvss_score":9.8,"headline":"Memory corruption in libwebp","id":"CVE-2018-25011","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Other in libwebp","id":"CVE-2018-25014","kev_date_added":null,"published":"2021-05-21"},{"cvss_score":9.8,"headline":"Supply chain in redhat-upgrade-tool","id":"CVE-2014-3585","kev_date_added":null,"published":"2019-11-22"},{"cvss_score":9.3,"headline":"Squid: request/response smuggling in http/1.1 and icap","id":"CVE-2023-46846","kev_date_added":null,"published":"2023-11-03"},{"cvss_score":9.1,"headline":"Memory corruption in libwebp","id":"CVE-2018-25009","kev_date_added":null,"published":"2021-05-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"A flaw in libnbd's nbdcopy tool ignores asynchronous errors, potentially leading to silent creation of corrupted destination images during multi-threaded copies.","url":"https://insights.sbomify.com/CVE-2022-0485/"}