p PatchFirst

CVE-2021-42013

CVE-2021-42013 · Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

It was found that the fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient. An attacker could use a path traversal attack to map URLs to files outside the directories configured by Alias-like directives. If files outside of these directories are not protected by the usual default configuration "require all denied", these requests can succeed. If CGI scripts are also enabled for these aliased pathes, this could allow for remote code execution. This issue only affects Apache 2.4.49 and Apache 2.4.50 and not earlier versions.

CVSS 9.8 · Critical · EPSS 100.0% · In KEV · Public exploit · Fix available

Published
Updated

Stack: system · web

Affected products and versions

  • apache httpd

    Versions
    • Apache HTTP Server 2.4.49: Affected
    • Apache HTTP Server 2.4.50: Affected

    No fix published

  • apache2 Debian:12

    Affected ranges
    • ECOSYSTEM: < 2.4.51-1

    Update to 2.4.51-1

  • apache2 Debian:13

    Affected ranges
    • ECOSYSTEM: < 2.4.51-1

    Update to 2.4.51-1

  • apache2 Debian:14

    Affected ranges
    • ECOSYSTEM: < 2.4.51-1

    Update to 2.4.51-1

Original sources

Check your server →