Out-of-bounds Write Affecting pam_cifscreds package, versions <0:7.0-1.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.58% (45th 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-RHEL8-PAMCIFSCREDS-9724265
  • published16 Apr 2025
  • disclosed27 Apr 2022

Introduced: 27 Apr 2022

CVE-2022-27239  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:8 pam_cifscreds to version 0:7.0-1.el8 or higher.
This issue was patched in RHBA-2023:3052.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam_cifscreds package and not the pam_cifscreds package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.

CVSS Base Scores

version 3.1