Incorrect Default Permissions Affecting samba-client package, versions <2:4.17.5-0.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.43% (76th 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 Learn

Learn about Incorrect Default Permissions vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-SAMBACLIENT-3340742
  • published6 Mar 2023
  • disclosed29 Aug 2022

Introduced: 29 Aug 2022

CVE-2022-0336  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 samba-client to version 2:4.17.5-0.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-032.

NVD Description

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

The Samba AD DC includes checks when adding service principals names (SPNs) to an account to ensure that SPNs do not alias with those already in the database. Some of these checks are able to be bypassed if an account modification re-adds an SPN that was previously present on that account, such as one added when a computer is joined to a domain. An attacker who has the ability to write to an account can exploit this to perform a denial-of-service attack by adding an SPN that matches an existing service. Additionally, an attacker who can intercept traffic can impersonate existing services, resulting in a loss of confidentiality and integrity.

CVSS Scores

version 3.1