Access Restriction Bypass Affecting shadow-maint/shadow package, versions [,4.0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.21% (86th 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-UNMANAGED-SHADOWMAINTSHADOW-2365867
  • published26 Jan 2022
  • disclosed28 May 2006
  • creditUnknown

Introduced: 28 May 2006

CVE-2006-1174  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade shadow-maint/shadow to version 4.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass useradd in shadow-utils before 4.0.3, and possibly other versions before 4.0.8, does not provide a required argument to the open function when creating a new user mailbox, which causes the mailbox to be created with unpredictable permissions and possibly allows attackers to read or modify the mailbox.

References

CVSS Scores

version 3.1