Buffer overflow in rust (Alpine package)



Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-12083
CWE-ID CWE-119
Exploitation vector Network
Public exploit N/A
Vulnerable software
rust (Alpine package)
Operating systems & Components / Operating system package or component

hostapd (Alpine package)
Operating systems & Components / Operating system package or component


Other

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU31073

Risk: High

CVSSv4.0: 7.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2019-12083

CWE-ID: CWE-119 - Memory corruption

Exploit availability: No

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The Rust Programming Language Standard Library 1.34.x before 1.34.2 contains a stabilized method which, if overridden, can violate Rust's safety guarantees and cause memory unsafety. If the `Error::type_id` method is overridden then any type can be safely cast to any other type, causing memory safety vulnerabilities in safe code (e.g., out-of-bounds write or read). Code that does not manually implement Error::type_id is unaffected.

Mitigation

Install update from vendor's website.

Vulnerable software versions

rust (Alpine package): 1.34.2-r1 - 1.39.0-r0

hostapd (Alpine package): 0.7.3-r1 - 0.7.3-r2

: 0.4.0-r1

: before

hostapd (Alpine package): before 1.0-6

hostapd (Alpine package): before 9.3.5.v20151012

hostapd (Alpine package): before

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=466fe51bad05a1aab9c97287356a76273136c83e


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###