Description

A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.

INFO

Published Date :

Jan. 31, 2024, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 8:43 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

2.5
Public PoC/Exploit Available at Github

CVE-2023-6246 has a 5 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-6246 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Gnu glibc
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-6246.

URL Resource
http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2024/Feb/3 Exploit Third Party Advisory
http://seclists.org/fulldisclosure/2024/Feb/5 Exploit Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-6246 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2249053 Issue Tracking Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ Mailing List
https://security.gentoo.org/glsa/202402-01 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240216-0007/
https://www.openwall.com/lists/oss-security/2024/01/30/6 Exploit Mailing List Third Party Advisory
https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt Exploit Third Party Advisory
http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html Exploit Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html Exploit Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2024/Feb/3 Exploit Third Party Advisory
http://seclists.org/fulldisclosure/2024/Feb/5 Exploit Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-6246 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2249053 Issue Tracking Third Party Advisory
https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ Mailing List
https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ Mailing List
https://security.gentoo.org/glsa/202402-01 Third Party Advisory
https://security.netapp.com/advisory/ntap-20240216-0007/
https://www.openwall.com/lists/oss-security/2024/01/30/6 Exploit Mailing List Third Party Advisory
https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Dockerfile Python HTML

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Sept. 26, 2024, 4:44 p.m. This repo has been linked 26 different CVEs too.

None

Dockerfile Go

Updated: 6 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : May 29, 2024, 6:54 p.m. This repo has been linked 78 different CVEs too.

ele spawns elevated processes.

dbus polkit pty sudo

Rust

Updated: 2 months, 3 weeks ago
2 stars 0 fork 0 watcher
Born at : March 23, 2024, 8:29 p.m. This repo has been linked 1 different CVEs too.

None

C Python Shell

Updated: 5 months, 2 weeks ago
5 stars 5 fork 5 watcher
Born at : March 2, 2024, 3:45 p.m. This repo has been linked 1 different CVEs too.

One place for Open Source Weekly Updates All!

Updated: 3 weeks, 4 days ago
57 stars 5 fork 5 watcher
Born at : Aug. 17, 2018, 8:16 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-6246 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-6246 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html
    Added Reference http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html
    Added Reference http://seclists.org/fulldisclosure/2024/Feb/3
    Added Reference http://seclists.org/fulldisclosure/2024/Feb/5
    Added Reference https://access.redhat.com/security/cve/CVE-2023-6246
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2249053
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/
    Added Reference https://security.gentoo.org/glsa/202402-01
    Added Reference https://security.netapp.com/advisory/ntap-20240216-0007/
    Added Reference https://www.openwall.com/lists/oss-security/2024/01/30/6
    Added Reference https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 16, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://security.netapp.com/advisory/ntap-20240216-0007/ [No types assigned]
  • Modified Analysis by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html No Types Assigned http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html No Types Assigned http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://seclists.org/fulldisclosure/2024/Feb/3 No Types Assigned http://seclists.org/fulldisclosure/2024/Feb/3 Exploit, Third Party Advisory
    Changed Reference Type http://seclists.org/fulldisclosure/2024/Feb/5 No Types Assigned http://seclists.org/fulldisclosure/2024/Feb/5 Exploit, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ Mailing List
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ Mailing List
    Changed Reference Type https://security.gentoo.org/glsa/202402-01 No Types Assigned https://security.gentoo.org/glsa/202402-01 Third Party Advisory
    Changed Reference Type https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt No Types Assigned https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt Exploit, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 15, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt [No types assigned]
  • CVE Modified by [email protected]

    Feb. 04, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://seclists.org/fulldisclosure/2024/Feb/5 [No types assigned]
  • CVE Modified by [email protected]

    Feb. 04, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://seclists.org/fulldisclosure/2024/Feb/3 [No types assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://security.gentoo.org/glsa/202402-01 [No types assigned]
  • CVE Modified by [email protected]

    Feb. 01, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ [No types assigned]
    Added Reference Red Hat, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ [No types assigned]
  • CVE Modified by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. http://packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.html [No types assigned]
    Added Reference Red Hat, Inc. http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html [No types assigned]
  • Initial Analysis by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-6246 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-6246 Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2249053 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2249053 Issue Tracking, Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2024/01/30/6 No Types Assigned https://www.openwall.com/lists/oss-security/2024/01/30/6 Exploit, Mailing List, Third Party Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions from (including) 2.36 up to (excluding) 2.39
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    Jan. 31, 2024

    Action Type Old Value New Value
    Added Description A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2023-6246 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2249053 [No types assigned]
    Added Reference Red Hat, Inc. https://www.openwall.com/lists/oss-security/2024/01/30/6 [No types assigned]
    Added CWE Red Hat, Inc. CWE-122
    Added CVSS V3.1 Red Hat, Inc. AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-6246 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-6246 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.51 }} 0.44%

score

0.86637

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability