Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-31566

7.8 · HIGH
Published Aug 23, 2022 libarchive CWE-59 EPSS 0.39% (32th pctl)

Overview

CVE-2021-31566 is a high-severity vulnerability affecting libarchive libarchive. It was published on August 23, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical Description

An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.

Remediation

Check the references section for vendor advisories and patches from libarchive. Update libarchive to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
libarchive libarchive >= 0, < 3.5.2 Affected
splunk universal_forwarder >= 8.2.0, < 8.2.12 Affected

Frequently Asked Questions

What is CVE-2021-31566?

CVE-2021-31566 is a high-severity vulnerability affecting libarchive libarchive. It was published on August 23, 2022 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2021-31566?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-31566?

Check the references section for vendor advisories and patches from libarchive. Update libarchive to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-31566?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-31566 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.