{
  "threat_severity" : "Moderate",
  "public_date" : "2021-11-23T00:00:00Z",
  "bugzilla" : {
    "description" : "perl-App-cpanminus: Bypass of verification of signatures in CHECKSUMS files",
    "id" : "2035341",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2035341"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-347",
  "details" : [ "The App::cpanminus package 1.7044 for Perl allows Signature Verification Bypass.", "A flaw was found in the way the perl-App-cpanminus performed verification of package signatures stored in CHECKSUMS files. A malicious or compromised CPAN server used by a user, or a man-in-the-middle attacker, could use this flaw to bypass signature verification." ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "perl-App-cpanminus",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "perl-App-cpanminus:1.7044/perl-App-cpanminus",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Will not fix",
    "package_name" : "perl-App-cpanminus",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Will not fix",
    "package_name" : "rh-perl530-perl-App-cpanminus",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2020-16154\nhttps://nvd.nist.gov/vuln/detail/CVE-2020-16154\nhttp://blogs.perl.org/users/neilb/2021/11/addressing-cpan-vulnerabilities-related-to-checksums.html\nhttps://blog.hackeriet.no/cpan-signature-verification-vulnerabilities/" ],
  "name" : "CVE-2020-16154",
  "mitigation" : {
    "value" : "This issue can be mitigated by instructing perl-App-cpanminus to only use trusted CPAN mirrors (www.cpan.org or cpan.metacpan.org) and use HTTPS for communication with CPAN servers. The `cpanm` command can be configured to use the specific CPAN mirror using the --from command line option by running it as:\n```\ncpanm --from https://www.cpan.org ...\n```\nYou can also set environment variable PERL_CPANM_OPT to include this command line option to avoid having to specify the URL for every cpanm invocation:\n```\nexport PERL_CPANM_OPT=\"--from https://www.cpan.org\"\n```",
    "lang" : "en:us"
  },
  "csaw" : false
}