USN-3534-1

Source
https://ubuntu.com/security/notices/USN-3534-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-3534-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-3534-1
Related
Published
2018-01-17T12:57:11.166044Z
Modified
2018-01-17T12:57:11.166044Z
Summary
eglibc, glibc vulnerabilities
Details

It was discovered that the GNU C library did not properly handle all of the possible return values from the kernel getcwd(2) syscall. A local attacker could potentially exploit this to execute arbitrary code in setuid programs and gain administrative privileges. (CVE-2018-1000001)

A memory leak was discovered in the dlinitpaths() function in the GNU C library dynamic loader. A local attacker could potentially exploit this with a specially crafted value in the LDHWCAP_MASK environment variable, in combination with CVE-2017-1000409 and another vulnerability on a system with hardlink protections disabled, in order to gain administrative privileges. (CVE-2017-1000408)

A heap-based buffer overflow was discovered in the dlinitpaths() function in the GNU C library dynamic loader. A local attacker could potentially exploit this with a specially crafted value in the LDLIBRARY_PATH environment variable, in combination with CVE-2017-1000408 and another vulnerability on a system with hardlink protections disabled, in order to gain administrative privileges. (CVE-2017-1000409)

An off-by-one error leading to a heap-based buffer overflow was discovered in the GNU C library glob() implementation. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code via a maliciously crafted pattern. (CVE-2017-15670)

A heap-based buffer overflow was discovered during unescaping of user names with the ~ operator in the GNU C library glob() implementation. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code via a maliciously crafted pattern. (CVE-2017-15804)

It was discovered that the GNU C library dynamic loader mishandles RPATH and RUNPATH containing $ORIGIN for privileged (setuid or AT_SECURE) programs. A local attacker could potentially exploit this by providing a specially crafted library in the current working directory in order to gain administrative privileges. (CVE-2017-16997)

It was discovered that the GNU C library malloc() implementation could return a memory block that is too small if an attempt is made to allocate an object whose size is close to SIZE_MAX, resulting in a heap-based overflow. An attacker could potentially exploit this to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 17.10. (CVE-2017-17426)

References

Affected packages

Ubuntu:14.04:LTS / eglibc

Package

Name
eglibc
Purl
pkg:deb/ubuntu/eglibc?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.19-0ubuntu6.14

Affected versions

2.*

2.17-93ubuntu4
2.18-0ubuntu1
2.18-0ubuntu2
2.18-0ubuntu4
2.18-0ubuntu5
2.18-0ubuntu6
2.18-0ubuntu7
2.19-0ubuntu2
2.19-0ubuntu3
2.19-0ubuntu4
2.19-0ubuntu5
2.19-0ubuntu6
2.19-0ubuntu6.1
2.19-0ubuntu6.3
2.19-0ubuntu6.4
2.19-0ubuntu6.5
2.19-0ubuntu6.6
2.19-0ubuntu6.7
2.19-0ubuntu6.8
2.19-0ubuntu6.9
2.19-0ubuntu6.10
2.19-0ubuntu6.11
2.19-0ubuntu6.13

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "eglibc-source"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "glibc-doc"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc-bin"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc-bin-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc-dev-bin"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-amd64"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-amd64-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-armel"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-armel-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dbg"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev-amd64"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev-armel"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev-i386"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev-ppc64"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-dev-x32"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-i386"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-i386-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-pic"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-ppc64"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-ppc64-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-prof"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-udeb"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-udeb-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-x32"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libc6-x32-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libnss-dns-udeb"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libnss-dns-udeb-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libnss-files-udeb"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "libnss-files-udeb-dbgsym"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "multiarch-support"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "nscd"
        },
        {
            "binary_version": "2.19-0ubuntu6.14",
            "binary_name": "nscd-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / glibc

Package

Name
glibc
Purl
pkg:deb/ubuntu/glibc?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.23-0ubuntu10

Affected versions

2.*

2.21-0ubuntu4
2.21-0ubuntu5
2.21-0ubuntu6
2.23-0ubuntu1
2.23-0ubuntu2
2.23-0ubuntu3
2.23-0ubuntu4
2.23-0ubuntu5
2.23-0ubuntu6
2.23-0ubuntu7
2.23-0ubuntu9

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "glibc-doc"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "glibc-source"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc-bin"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc-bin-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc-dev-bin"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-amd64"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-amd64-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-armel"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-armel-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dbg"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-amd64"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-armel"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-i386"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-ppc64"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-s390"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-dev-x32"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-i386"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-i386-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-pic"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-ppc64"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-ppc64-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-s390"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-s390-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-udeb"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-udeb-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-x32"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "libc6-x32-dbgsym"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "locales"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "locales-all"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "multiarch-support"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "nscd"
        },
        {
            "binary_version": "2.23-0ubuntu10",
            "binary_name": "nscd-dbgsym"
        }
    ]
}