{
  "threat_severity" : "Moderate",
  "public_date" : "2021-03-16T17:02:00Z",
  "bugzilla" : {
    "description" : "libdnf: Signature verification bypass via signature placed in the main RPM header",
    "id" : "1932079",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1932079"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-347",
  "details" : [ "A flaw was found in libdnf's signature verification functionality in versions before 0.60.1. This flaw allows an attacker to achieve code execution if they can alter the header information of an RPM package and then trick a user or system into installing it. The highest risk of this vulnerability is to confidentiality, integrity, as well as system availability.", "A flaw was found in libdnf's signature verification functionality. This flaw allows an attacker to achieve code execution if they can alter the header information of an RPM package and then trick a user or system into installing it. The highest risk of this vulnerability is to confidentiality, integrity, as well as system availability." ],
  "statement" : "The exploitation of this flaw requires RPM's package verification level to be set to \"digest\" or \"none\". In addition, to exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM.  It is strongly recommended to only use RPMs from trusted repositories.",
  "acknowledgement" : "Red Hat would like to thank Demi M. Obenour for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4464",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "dnf-0:4.7.0-4.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4464",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "dnf-plugins-core-0:4.0.21-3.el8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2021-11-09T00:00:00Z",
    "advisory" : "RHSA-2021:4464",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8",
    "package" : "libdnf-0:0.63.0-3.el8"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "libdnf",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2021-3445\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-3445" ],
  "name" : "CVE-2021-3445",
  "mitigation" : {
    "value" : "A mitigation for this flaw is to set %_pkgverify_level all` or `%_pkgverify_level signature` in `/etc/rpm/macros`.",
    "lang" : "en:us"
  },
  "csaw" : false
}