RHSA-2026:30856

Vulnerability from csaf_redhat - Published: 2026-06-29 04:47 - Updated: 2026-06-29 08:04
Summary
Red Hat Security Advisory: perl-Archive-Tar security update
Severity
Important
Notes
Topic: An update for perl-Archive-Tar is now available for Red Hat Enterprise Linux 9. Red Hat Product Security has rated this update as having a security impact of Important. 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: Archive::Tar provides an object oriented mechanism for handling tar files. It provides class methods for quick and easy files handling while also allowing for the creation of tar file objects for custom manipulation. If you have the IO::Zlib module installed, Archive::Tar will also support compressed or gzipped tar files. Security Fix(es): * perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access (CVE-2026-42496) 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.

A flaw was found in perl-Archive-Tar. Versions before 3.08 for Perl are vulnerable to a path traversal issue. An attacker can craft a malicious tar archive containing symlinks with targets outside the intended extraction directory. This vulnerability allows the attacker to read or write to arbitrary files on the system, leading to potential information disclosure or data corruption.

CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected products
Product Identifier Version Remediation
Unresolved product id: AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch
Vendor Fix fix
Workaround
Unresolved product id: AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src
Vendor Fix fix
Workaround
Threats
Impact Important

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "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-Archive-Tar is now available for Red Hat Enterprise Linux 9.\n\nRed Hat Product Security has rated this update as having a security impact of Important. 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": "Archive::Tar provides an object oriented mechanism for handling tar files.  It provides class methods for quick and easy files handling while also allowing for the creation of tar file objects for custom manipulation.  If you have the IO::Zlib module installed, Archive::Tar will also support compressed or gzipped tar files.\n\nSecurity Fix(es):\n\n* perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access (CVE-2026-42496)\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-2026:30856",
        "url": "https://access.redhat.com/errata/RHSA-2026:30856"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "2481314",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2481314"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_30856.json"
      }
    ],
    "title": "Red Hat Security Advisory: perl-Archive-Tar security update",
    "tracking": {
      "current_release_date": "2026-06-29T08:04:20+00:00",
      "generator": {
        "date": "2026-06-29T08:04:20+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.2.6"
        }
      },
      "id": "RHSA-2026:30856",
      "initial_release_date": "2026-06-29T04:47:37+00:00",
      "revision_history": [
        {
          "date": "2026-06-29T04:47:37+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2026-06-29T04:47:37+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2026-06-29T08:04:20+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.8.0.Z.MAIN.EUS",
                  "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-Archive-Tar-0:2.38-6.el9_8.1.noarch",
                "product": {
                  "name": "perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
                  "product_id": "perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/perl-Archive-Tar@2.38-6.el9_8.1?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "perl-Archive-Tar-0:2.38-6.el9_8.1.src",
                "product": {
                  "name": "perl-Archive-Tar-0:2.38-6.el9_8.1.src",
                  "product_id": "perl-Archive-Tar-0:2.38-6.el9_8.1.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/perl-Archive-Tar@2.38-6.el9_8.1?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "perl-Archive-Tar-0:2.38-6.el9_8.1.noarch as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch"
        },
        "product_reference": "perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
        "relates_to_product_reference": "AppStream-9.8.0.Z.MAIN.EUS"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "perl-Archive-Tar-0:2.38-6.el9_8.1.src as a component of Red Hat Enterprise Linux AppStream (v. 9)",
          "product_id": "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src"
        },
        "product_reference": "perl-Archive-Tar-0:2.38-6.el9_8.1.src",
        "relates_to_product_reference": "AppStream-9.8.0.Z.MAIN.EUS"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-42496",
      "cwe": {
        "id": "CWE-22",
        "name": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
      },
      "discovery_date": "2026-05-26T02:00:52.414462+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2481314"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found in perl-Archive-Tar. Versions before 3.08 for Perl are vulnerable to a path traversal issue. An attacker can craft a malicious tar archive containing symlinks with targets outside the intended extraction directory. This vulnerability allows the attacker to read or write to arbitrary files on the system, leading to potential information disclosure or data corruption.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "This is an Important vulnerability in `perl-Archive-Tar` that allows for arbitrary file access due to a path traversal flaw when extracting specially crafted tar archives. An attacker could exploit this by creating a malicious archive containing symlinks that point outside the intended extraction directory, potentially leading to unauthorized information disclosure or data corruption on the system. This risk is elevated in environments where untrusted archives are processed.",
          "title": "Statement"
        },
        {
          "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.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
          "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2026-42496"
        },
        {
          "category": "external",
          "summary": "RHBZ#2481314",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2481314"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-42496",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-42496"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2026-42496",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42496"
        },
        {
          "category": "external",
          "summary": "https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch",
          "url": "https://github.com/jib/archive-tar-new/commit/17c873492a05eddc0de18c1485e0b2cccd5a9158.patch"
        },
        {
          "category": "external",
          "summary": "https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes",
          "url": "https://metacpan.org/release/BINGOS/Archive-Tar-3.08/changes"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2026-42497",
          "url": "https://www.cve.org/CVERecord?id=CVE-2026-42497"
        }
      ],
      "release_date": "2026-05-26T00:17:19.110000+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2026-06-29T04:47:37+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.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2026:30856"
        },
        {
          "category": "workaround",
          "details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
          "product_ids": [
            "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.noarch",
            "AppStream-9.8.0.Z.MAIN.EUS:perl-Archive-Tar-0:2.38-6.el9_8.1.src"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "perl-archive-tar: perl-archive-tar: Path traversal via crafted symlinks allows arbitrary file access"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…