Bug 2042017 (CVE-2022-23219) - CVE-2022-23219 glibc: Stack-based buffer overflow in sunrpc clnt_create via a long pathname
Summary: CVE-2022-23219 glibc: Stack-based buffer overflow in sunrpc clnt_create via a...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-23219
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: 2042018 2045062 2045063 2045251 2046028 2046693 2071032
Blocks: 2042019
TreeView+ depends on / blocked
 
Reported: 2022-01-18 17:13 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-07-12 11:30 UTC (History)
34 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 clnt_create() in the sunrpc's clnt_gen.c module of the GNU C Library (aka glibc) through 2.34. This vulnerability copies its hostname 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) lead to arbitrary code execution.
Clone Of:
Environment:
Last Closed: 2022-05-04 01:45:58 UTC
Embargoed:


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:22:06 UTC

Description Guilherme de Almeida Suckevicz 2022-01-18 17:13:45 UTC
The deprecated compatibility function clnt_create in the sunrpc module of the GNU C Library (aka glibc) through 2.34 copies its hostname 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=22542

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

Affects: fedora-all [bug 2042018]

Comment 13 errata-xmlrpc 2022-03-15 10:22:02 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 15 Product Security DevOps Team 2022-05-04 01:45:54 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-23219


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