Access Restriction Bypass Affecting samba package, versions <0:4.2.3-11.28.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.06% (85th 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-AMZN201803-SAMBA-1693123
  • published27 Sept 2021
  • disclosed29 Dec 2015

Introduced: 29 Dec 2015

CVE-2015-5252  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 samba to version 0:4.2.3-11.28.amzn1 or higher.
This issue was patched in ALAS-2016-634.

NVD Description

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

vfs.c in smbd in Samba 3.x and 4.x before 4.1.22, 4.2.x before 4.2.7, and 4.3.x before 4.3.3, when share names with certain substring relationships exist, allows remote attackers to bypass intended file-access restrictions via a symlink that points outside of a share.

References

CVSS Scores

version 3.1