Buffer overflow in rust (Alpine package)



Published: 2019-09-30
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
Subscribe
rust (Alpine package)
Operating systems & Components / Operating system package or component

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

Aconf
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU31073

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

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

Aconf: 0.4.0-r1

Aconf: before 2.11-8ubuntu4

hostapd (Alpine package): before 1.0-6

hostapd (Alpine package): before 9.3.5.v20151012

hostapd (Alpine package): before

External links

http://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###