{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-0485",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "libnbd",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in libnbd v1.11.8"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-252 - Unchecked Return Value."
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2046194",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2046194"
            },
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2050324",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2050324"
            },
            {
                "refsource": "MISC",
                "name": "https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html",
                "url": "https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html"
            },
            {
                "refsource": "MISC",
                "name": "https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb",
                "url": "https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb"
            },
            {
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2022-0485",
                "url": "https://access.redhat.com/security/cve/CVE-2022-0485"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    }
}