UBUNTU-CVE-2023-6779

Source
https://ubuntu.com/security/CVE-2023-6779
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-6779.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-6779
Related
Published
2024-01-31T00:00:00Z
Modified
2024-11-20T12:25:49Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

An off-by-one heap-based buffer overflow was found in the _vsysloginternal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when these functions are called with a message bigger than INT_MAX bytes, leading to an incorrect calculation of the buffer size to store the message, resulting in an application crash. This issue affects glibc 2.37 and newer.

References

Affected packages

Ubuntu:20.04:LTS / glibc

Package

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

Affected ranges

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

Affected versions

2.*

2.30-0ubuntu2
2.30-0ubuntu3
2.31-0ubuntu5
2.31-0ubuntu6
2.31-0ubuntu7
2.31-0ubuntu9
2.31-0ubuntu9.1
2.31-0ubuntu9.2
2.31-0ubuntu9.3
2.31-0ubuntu9.7
2.31-0ubuntu9.9
2.31-0ubuntu9.12

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "glibc-doc"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "glibc-source"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc-bin"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc-bin-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc-dev-bin"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-amd64"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-amd64-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-armel"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-armel-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dbg"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev-amd64"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev-armel"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev-i386"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev-s390"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-dev-x32"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-i386"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-i386-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-lse"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-pic"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-prof"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-s390"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-s390-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-udeb"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-x32"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "libc6-x32-dbgsym"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "locales"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "locales-all"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "nscd"
        },
        {
            "binary_version": "2.31-0ubuntu9.14",
            "binary_name": "nscd-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / glibc

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.35-0ubuntu3.6

Affected versions

2.*

2.34-0ubuntu3
2.35-0ubuntu1
2.35-0ubuntu3
2.35-0ubuntu3.1
2.35-0ubuntu3.3
2.35-0ubuntu3.4
2.35-0ubuntu3.5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "glibc-doc"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "glibc-source"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-bin"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-bin-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-dev-bin"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-devtools"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc-devtools-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-amd64"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-amd64-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dbg"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dev"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dev-amd64"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dev-i386"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dev-s390"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-dev-x32"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-i386"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-i386-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-prof"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-s390"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-s390-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-x32"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "libc6-x32-dbgsym"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "locales"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "locales-all"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "nscd"
        },
        {
            "binary_version": "2.35-0ubuntu3.6",
            "binary_name": "nscd-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / glibc

Package

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

Affected ranges

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

Affected versions

2.*

2.38-1ubuntu6
2.38-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "glibc-doc"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "glibc-source"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-bin"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-bin-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-dev-bin"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-dev-bin-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-devtools"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc-devtools-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-amd64"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-amd64-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dbg"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev-amd64"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev-i386"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev-s390"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-dev-x32"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-i386"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-i386-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-s390"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-s390-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-x32"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "libc6-x32-dbgsym"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "locales"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "locales-all"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "nscd"
        },
        {
            "binary_version": "2.39-0ubuntu1",
            "binary_name": "nscd-dbgsym"
        }
    ]
}