Improper Handling of Syntactically Invalid Structure Affecting samba4-python package, versions <0:4.0.0-55.el6.rc4


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
88.09% (99th 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-RHEL6-SAMBA4PYTHON-1455820
  • published26 Jul 2021
  • disclosed10 Apr 2012

Introduced: 10 Apr 2012

CVE-2012-1182  (opens in a new tab)
CWE-228  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade RHEL:6 samba4-python to version 0:4.0.0-55.el6.rc4 or higher.
This issue was patched in RHSA-2013:0506.

NVD Description

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

The RPC code generator in Samba 3.x before 3.4.16, 3.5.x before 3.5.14, and 3.6.x before 3.6.4 does not implement validation of an array length in a manner consistent with validation of array memory allocation, which allows remote attackers to execute arbitrary code via a crafted RPC call.

References

CVSS Scores

version 3.1