Description
Samba before 2.2.5 does not properly terminate the enum_csc_policy data structure, which may allow remote attackers to execute arbitrary code via a buffer overflow attack.
Samba before 2.2.5 does not properly terminate the enum_csc_policy data structure, which may allow remote attackers to execute arbitrary code via a buffer overflow attack.
| Vendor | Product | Version | Platform |
|---|---|---|---|
| samba | samba | <= 2.2.4 | – |
| samba | samba | 1.9.17 | – |
| samba | samba | 1.9.17 p1 | – |
| samba | samba | 1.9.17 p3 | – |
| samba | samba | 1.9.17 p4 | – |
| samba | samba | 1.9.17 p5 | – |
| samba | samba | 1.9.18 p1 | – |
| samba | samba | 1.9.18 p10 | – |
| samba | samba | 1.9.18 p2 | – |
| samba | samba | 1.9.18 p3 | – |
| samba | samba | 1.9.18 p4 | – |
| samba | samba | 1.9.18 p5 | – |
| samba | samba | 1.9.18 p6 | – |
| samba | samba | 1.9.18 p7 | – |
| samba | samba | 1.9.18 p8 | – |
| samba | samba | 2.0.0 | – |
| samba | samba | 2.0.5a | – |
| samba | samba | 2.2.1 | – |
| samba | samba | 2.2.1a | – |
| samba | samba | 2.2.3a | – |
| samba | samba | 2.2a | – |
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
| Scope | Impact |
|---|---|
| Integrity, Confidentiality, Availability | Execute Unauthorized Code or Commands, Modify Memory This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. If the memory accessible by the attacker can be effectively controlled, it may be possible to execute arbitrary code, as with a standard buffer overflow. If the attacker can overwrite a pointer's worth of memory (usually 32 or 64 bits), they can alter the intended control flow by redirecting a function pointer to their own malicious code. Even when the attacker can only modify a single byte, arbitrary code execution can be possible. Sometimes this is because the same problem can be exploited repeatedly to the same effect. Other times it is because the attacker can overwrite security-critical application-specific data -- such as a flag indicating whether the user is an administrator. |
| Availability, Confidentiality | Read Memory, DoS: Crash, Exit, or Restart, DoS: Resource Consumption (CPU), DoS: Resource Consumption (Memory) Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop. |
| Confidentiality | Read Memory In the case of an out-of-bounds read, the attacker may have access to sensitive information. If the sensitive information contains system details, such as the current buffer's position in memory, this knowledge can be used to craft further attacks, possibly with more severe consequences. |
All 13,798 CWE-119 CVEs, with trend and prevention
Source: MITRE CWE catalog · cwe.mitre.org