Bug 2042013 (CVE-2022-23218) - CVE-2022-23218 glibc: Stack-based buffer overflow in svcunix_create via long pathnames
Summary: CVE-2022-23218 glibc: Stack-based buffer overflow in svcunix_create via long ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-23218
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2042014 2045062 2045063 2045251 2046028 2046692 2071032
Blocks: 2042019
TreeView+ depends on / blocked
 
Reported: 2022-01-18 17:09 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-05-17 09:43 UTC (History)
33 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A stack based buffer-overflow vulnerability was found in the deprecated compatibility function svcunix_create() in the sunrpc's svc_unix.c module of the GNU C Library (aka glibc) through 2.34. This vulnerability copies its path argument onto the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) then it will lead to arbitrary code execution.
Clone Of:
Environment:
Last Closed: 2022-05-04 01:16:12 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:0896 0 None None None 2022-03-15 10:21:56 UTC

Description Guilherme de Almeida Suckevicz 2022-01-18 17:09:44 UTC
The deprecated compatibility function svcunix_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its path argument on the stack without validating its length, which may result in a buffer overflow, potentially resulting in a denial of service or (if an application is not built with a stack protector enabled) arbitrary code execution.

Reference:
https://sourceware.org/bugzilla/show_bug.cgi?id=28768

Comment 1 Guilherme de Almeida Suckevicz 2022-01-18 17:10:03 UTC
Created glibc tracking bugs for this issue:

Affects: fedora-all [bug 2042014]

Comment 17 errata-xmlrpc 2022-03-15 10:21:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:0896 https://access.redhat.com/errata/RHSA-2022:0896

Comment 19 Product Security DevOps Team 2022-05-04 01:16:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-23218


Note You need to log in before you can comment on or make changes to this bug.