GLSA 201701-11: musl: Integer overflow

Severity:normal
Title:musl: Integer overflow
Date:01/02/2017
Bugs: #597498
ID:201701-11

Synopsis

An integer overflow in musl might allow an attacker to execute arbitrary code.

Background

musl is a “libc”, an implementation of the standard library functionality described in the ISO C and POSIX standards, plus common extensions, intended for use on Linux-based systems.

Affected packages

Package Vulnerable Unaffected Architecture(s)
sys-libs/musl < 1.1.15-r2 >= 1.1.15-r2 All supported architectures

Description

A vulnerability was discovered in musl’s tre_tnfa_run_parallel function buffer overflow logic, due to the incorrect use of integer types and missing overflow checks.

Impact

An attacker, who controls the regular expression and/or string being searched, could execute arbitrary code with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All musl users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=sys-libs/musl-1.1.15-r2"
    

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201701-11.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!