{
  "threat_severity" : "Moderate",
  "public_date" : "2022-01-27T00:00:00Z",
  "bugzilla" : {
    "description" : "libnbd: nbdcopy: missing error handling may create corrupted destination image",
    "id" : "2050324",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2050324"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-252",
  "details" : [ "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.", "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." ],
  "acknowledgement" : "Upstream acknowledges Nir Soffer (Red Hat) as the original reporter.",
  "affected_release" : [ {
    "product_name" : "Advanced Virtualization for RHEL 8.4.0.EUS",
    "release_date" : "2022-03-21T00:00:00Z",
    "advisory" : "RHSA-2022:0971",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.4::el8",
    "package" : "virt:av-8040020220210233846.522a0ee4"
  }, {
    "product_name" : "Advanced Virtualization for RHEL 8.4.0.EUS",
    "release_date" : "2022-03-21T00:00:00Z",
    "advisory" : "RHSA-2022:0971",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.4::el8",
    "package" : "virt-devel:av-8040020220210233846.522a0ee4"
  }, {
    "product_name" : "Advanced Virtualization for RHEL 8.5.0.Z",
    "release_date" : "2022-03-16T00:00:00Z",
    "advisory" : "RHSA-2022:0949",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.5::el8",
    "package" : "virt:av-8050020220210180726.c5368500"
  }, {
    "product_name" : "Advanced Virtualization for RHEL 8.5.0.Z",
    "release_date" : "2022-03-16T00:00:00Z",
    "advisory" : "RHSA-2022:0949",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.5::el8",
    "package" : "virt-devel:av-8050020220210180726.c5368500"
  }, {
    "product_name" : "Advanced Virtualization for RHEL 8.6.0",
    "release_date" : "2022-05-11T00:00:00Z",
    "advisory" : "RHSA-2022:2181",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.6::el8",
    "package" : "virt:av-8060020220407154248.d63f516d"
  }, {
    "product_name" : "Advanced Virtualization for RHEL 8.6.0",
    "release_date" : "2022-05-11T00:00:00Z",
    "advisory" : "RHSA-2022:2181",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8.6::el8",
    "package" : "virt-devel:av-8060020220407154248.d63f516d"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-05-10T00:00:00Z",
    "advisory" : "RHSA-2022:1759",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "virt-devel:rhel-8060020220408104655.d63f516d"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-05-10T00:00:00Z",
    "advisory" : "RHSA-2022:1759",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "virt:rhel-8060020220408104655.d63f516d"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 8 Advanced Virtualization",
    "fix_state" : "Not affected",
    "package_name" : "virt:8.2/libnbd",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8::el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8 Advanced Virtualization",
    "fix_state" : "Affected",
    "package_name" : "virt:av/libnbd",
    "cpe" : "cpe:/a:redhat:advanced_virtualization:8::el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "libnbd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-0485\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-0485\nhttps://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html" ],
  "name" : "CVE-2022-0485",
  "mitigation" : {
    "value" : "Use of `nbdcopy --synchronous` will avoid undetected data corruption, but comes at a potential performance cost by avoiding the speed benefits of asynchronous operations. See the upstream security advisory for more information.",
    "lang" : "en:us"
  },
  "csaw" : false
}