Directory Traversal Affecting pam-debugsource package, versions <0:1.5.1-8.amzn2023.0.6


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.47% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PAMDEBUGSOURCE-11482752
  • published6 Aug 2025
  • disclosed17 Jun 2025

Introduced: 17 Jun 2025

CVE-2025-6020  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 pam-debugsource to version 0:1.5.1-8.amzn2023.0.6 or higher.
This issue was patched in ALAS2023-2025-1121.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam-debugsource package and not the pam-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw was found in linux-pam. The module pam_namespace may use access user-controlled paths without proper protection, allowing local users to elevate their privileges to root via multiple symlink attacks and race conditions.

References

CVSS Base Scores

version 3.1