Join our Newsletter — 33% off our NHI Course
Home› FAQ› Cyber Security› How do you patch or mitigate CVE-2020-36193 (PEAR…
Cyber Security

How do you patch or mitigate CVE-2020-36193 (PEAR Archive_Tar Improper Link Resolution)?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 19, 2026 Domain: Cyber Security

CISA's required action for CVE-2020-36193 is to apply updates per vendor instructions. In practice, find every instance of PEAR Archive_Tar in your estate, apply the vendor security update or documented mitigation, and if no fix can be applied, remove internet exposure or take the product out of service. After patching, review logs for signs of earlier exploitation, because attackers used this flaw in the wild.

How to confirm you are actually exposed to CVE-2020-36193

Start by inventorying every system, application, package bundle, and build artifact that contains PEAR Archive_Tar, including embedded copies in legacy PHP stacks and vendor-supplied images. The practical question is not whether the component is “in use” in theory, but whether any reachable deployment can still accept crafted archive content and write or follow links in a dangerous way.

That exposure check should include internet-facing services first, then internal application tiers, automation jobs, and CI or deployment pipelines that unpack archives. If the component is present but not reachable, the immediate risk is lower; if it is reachable from untrusted input, treat it as a live remediation item rather than a passive dependency.

For prioritisation, use the KEV catalogue and a vulnerability management process that separates “present” from “exploitable in your environment.” The same finding can be urgent on a public-facing upload path and far less urgent in a sealed, offline utility container. Zero-Day and Exploited Vulnerabilities Guide is useful here because it ties KEV-style triage to emergency mitigation and post-patch hunting. Vulnerability Management Guide is the broader operating model for scope, prioritisation, verification, and exceptions.

Patch or mitigation choices when you cannot wait

CISA's required action is to apply updates per vendor instructions, so the first choice is always to deploy the vendor security update or documented mitigation. When patching is delayed, the next best move is to reduce or eliminate exposure to untrusted archive handling, especially on internet-facing endpoints and any workflow that accepts user-supplied tar files.

If a fix cannot be applied immediately, remove the product from service where practical, or put compensating controls around the affected function. Typical compensating measures include blocking the vulnerable upload path, denying remote access to the service, isolating the host, or moving the workload behind stricter trust boundaries until the update is complete.

Because this class of flaw is about dangerous path or link handling, the mitigation needs to be more than “watch for alerts.” The controlling decision is whether the vulnerable code can still process attacker-controlled archives in a context that matters. If it can, you still have exposure even if the server is otherwise hardened.

Use the vendor advisory for version-specific instructions and the CISA Known Exploited Vulnerabilities Catalog for the authoritative exploitation and remediation context. If you need a broader control reference for the underlying weakness pattern, the CWE Top 25 Guide helps map the flaw to the kind of file-system and link-resolution mistake that should be removed, not merely monitored.

What to check after patching and what to rotate if compromise is plausible

After remediation, review logs, archive-processing events, and file-system anomalies for signs that the flaw may already have been used. Focus on unexpected file creation, archive extraction into abnormal paths, altered web content, new symbolic links, privilege changes, or any activity that lines up with the application receiving malicious archives before the fix was applied.

If the vulnerable component had access to credentials, session material, or service accounts on the host, treat the incident as more than a pure code patch. In that case, credential rotation and session invalidation may be necessary, but only for identities or secrets that could realistically have been reached through the vulnerable process. The clean-up scope should follow the blast radius, not a blanket rotation checklist.

Post-patch validation should also confirm that the updated component is actually the one now running in production, not just the one in source control or a package manifest. A successful change record without runtime verification leaves the same exploitation path open.

Risk and Threat Considerations

This flaw matters because archive extraction bugs can turn a routine file-processing function into an unintended write primitive. If the component can be reached by untrusted input, an attacker may use link-following or path manipulation to place or overwrite files outside the intended directory, which can become a stepping stone to code execution, persistence, or tampering.

Failure mechanism: The vulnerable archive handler trusts path or link content inside the archive enough to follow it during extraction, so attacker-controlled input can escape the intended extraction boundary.

Impact: That can expose configuration files, overwrite application assets, plant malicious content, or create follow-on access paths that persist after the initial archive is processed.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-7 — Continuous Vulnerability ManagementThe question is about patching a known exploited vulnerability and validating remediation.
CIS-16 — Application Software SecurityArchive processing flaws are application-layer weaknesses that require secure code and dependency handling.
Recommendation — Track and remediate the vulnerable component through a continuous vulnerability management process. Remove unsafe archive handling patterns and verify the fix in the application stack.
NIST SP 800-53 Rev 5SI-2 — Flaw RemediationThe exact issue is patching a known vulnerability and confirming the update is deployed.
RA-5 — Vulnerability Monitoring and ScanningExposure confirmation and post-remediation validation both depend on finding vulnerable instances.
SI-4 — System MonitoringPost-exploitation review requires monitoring for signs of abuse after the flaw was in the wild.
Recommendation — Apply vendor remediation promptly and verify the vulnerable version is no longer deployed. Scan for every deployment instance and recheck that remediation closed the exposure. Review logs and alerts for evidence that the flaw was exploited before remediation.

Practitioner Guidance

What to prioritise: Treat any internet-reachable or user-controlled archive workflow as the highest-value remediation target. If you have multiple copies of the component, patch the externally exposed instances first, then work inward toward build systems and internal tools.

What to verify: Confirm the vendor update actually removes the vulnerable behaviour in the deployed runtime, and verify that mitigation is effective if you had to block exposure instead of patching. The useful test is whether untrusted archives can still influence paths, links, or extracted output in a way that reaches sensitive locations.

Decision rule: If the component can process attacker-supplied archives and you cannot prove the fix is live, assume the exposure still exists. If you cannot patch promptly, the safer choice is to take the service out of service or isolate it until you can.

Practitioner takeaway: For exploited file-handling vulnerabilities, remediation is only complete when the vulnerable code path is removed from reachable attack surface and the environment is checked for earlier abuse, not just when a package version changes.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org