rhsa-2024:10218
Vulnerability from csaf_redhat
Published
2024-11-25 09:39
Modified
2025-09-25 13:05
Summary
Red Hat Security Advisory: perl-App-cpanminus security update

Notes

Topic
An update for perl-App-cpanminus is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
Why? It's dependency free, requires zero configuration, and stands alone but it's maintainable and extensible with plug-ins and friendly to shell scripting. When running, it requires only 10 MB of RAM. Security Fix(es): * perl-App-cpanminus: Insecure HTTP in App::cpanminus Allows Code Execution Vulnerability (CVE-2024-45321) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for perl-App-cpanminus is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Why? It\u0027s dependency free, requires zero configuration, and stands alone but it\u0027s maintainable and extensible with plug-ins and friendly to shell scripting. When running, it requires only 10 MB of RAM.\n\nSecurity Fix(es):\n\n* perl-App-cpanminus: Insecure HTTP in App::cpanminus Allows Code Execution Vulnerability (CVE-2024-45321)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2024:10218",
        "url": "https://access.redhat.com/errata/RHSA-2024:10218"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "2308078",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2308078"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10218.json"
      }
    ],
    "title": "Red Hat Security Advisory: perl-App-cpanminus security update",
    "tracking": {
      "current_release_date": "2025-09-25T13:05:38+00:00",
      "generator": {
        "date": "2025-09-25T13:05:38+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.8"
        }
      },
      "id": "RHSA-2024:10218",
      "initial_release_date": "2024-11-25T09:39:13+00:00",
      "revision_history": [
        {
          "date": "2024-11-25T09:39:13+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2024-11-25T09:39:13+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2025-09-25T13:05:38+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux AppStream (v. 9)",
                "product": {
                  "name": "Red Hat Enterprise Linux AppStream (v. 9)",
                  "product_id": "AppStream-9.5.0.Z.MAIN",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:enterprise_linux:9::appstream"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.src",
                "product": {
                  "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.src",
                  "product_id": "perl-App-cpanminus-0:1.7044-14.1.el9_5.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/perl-App-cpanminus@1.7044-14.1.el9_5?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
                "product": {
                  "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
                  "product_id": "perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/perl-App-cpanminus@1.7044-14.1.el9_5?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch"
        },
        "product_reference": "perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
        "relates_to_product_reference": "AppStream-9.5.0.Z.MAIN"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "perl-App-cpanminus-0:1.7044-14.1.el9_5.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.src"
        },
        "product_reference": "perl-App-cpanminus-0:1.7044-14.1.el9_5.src",
        "relates_to_product_reference": "AppStream-9.5.0.Z.MAIN"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-45321",
      "discovery_date": "2024-08-27T04:20:06.660708+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2308078"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in App::cpanminus (cpanm) through version 1.7047. The default configuration downloads Perl modules from CPAN using HTTP, which could allow an attacker to view or modify the content without the knowledge of the user. This issue could allow an attacker to execute malicious code if they have the ability to intercept and modify the content before it reaches to user.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "perl-App-cpanminus: Insecure HTTP in App::cpanminus Allows Code Execution Vulnerability",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
          "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2024-45321"
        },
        {
          "category": "external",
          "summary": "RHBZ#2308078",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2308078"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2024-45321",
          "url": "https://www.cve.org/CVERecord?id=CVE-2024-45321"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2024-45321",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-45321"
        },
        {
          "category": "external",
          "summary": "https://github.com/miyagawa/cpanminus/issues/611",
          "url": "https://github.com/miyagawa/cpanminus/issues/611"
        },
        {
          "category": "external",
          "summary": "https://github.com/miyagawa/cpanminus/pull/674",
          "url": "https://github.com/miyagawa/cpanminus/pull/674"
        },
        {
          "category": "external",
          "summary": "https://security.metacpan.org/2024/08/26/cpanminus-downloads-code-using-insecure-http.html",
          "url": "https://security.metacpan.org/2024/08/26/cpanminus-downloads-code-using-insecure-http.html"
        }
      ],
      "release_date": "2024-08-27T04:15:09.010000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2024-11-25T09:39:13+00:00",
          "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.src"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2024:10218"
        },
        {
          "category": "workaround",
          "details": "A user can force cpanminus to use a HTTPS mirror using the --from command-line argument. This can be configured as a CLI option or as an environment variable. \n\nAs a command line argument, replacing DISTNAME in the command with the name of the distribution you want to install:\n\n`$ cpanm --from https://www.cpan.org DISTNAME`\n\nAs set with the environment variable:\n\n`$ export PERL_CPANM_OPT=\"--from https://www.cpan.org\"`",
          "product_ids": [
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.noarch",
            "AppStream-9.5.0.Z.MAIN:perl-App-cpanminus-0:1.7044-14.1.el9_5.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "perl-App-cpanminus: Insecure HTTP in App::cpanminus Allows Code Execution Vulnerability"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…