Buffer overflow in Chicken Scheme - CVE-2017-6949

 

Buffer overflow in Chicken Scheme - CVE-2017-6949

Published: March 16, 2017 / Updated: August 4, 2020


Vulnerability identifier: #VU33341
CSH Severity: High
CVSS v4: 9.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]
CVE-ID: CVE-2017-6949
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

An issue was discovered in CHICKEN Scheme through 4.12.0. When using a nonstandard CHICKEN-specific extension to allocate an SRFI-4 vector in unmanaged memory, the vector size would be used in unsanitised form as an argument to malloc(). With an unexpected size, the impact may have been a segfault or buffer overflow.


Affected software

Chicken Scheme
chicken (Alpine package)
chicken
Fedora

How to mitigate CVE-2017-6949

Install update from vendor's website.

Chicken Scheme - update to 4.13.0
chicken (Alpine package) - update to 4.12.0-r2
chicken - addressed in versions 4.12.0-2.el6, 4.12.0-2.el7, 4.12.0-2.fc24, 4.12.0-2.fc25, 4.12.0-2.fc26

External References

Related Security Bulletins