CVE-2015-1781
published 2015-09-28CVE-2015-1781: Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent…
PriorityP337medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
5.01%
91.3th percentile
Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | glibc | < glibc 2.19-20 (bookworm) | glibc 2.19-20 (bookworm) |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.8 | 2.19-0ubuntu6.8 |
| eglibc | eglibc | >= 0 < 2.19-0ubuntu6.9 | 2.19-0ubuntu6.9 |
| gnu | glibc | <= 2.21 | — |
| gnu | glibc | >= 0 < 2.19-20 | 2.19-20 |
| gnu | glibc | >= 0 < 2.19-20 | 2.19-20 |
| gnu | glibc | >= 0 < 2.19-20 | 2.19-20 |
| gnu | glibc | >= 0 < 2.19-20 | 2.19-20 |
| suse | linux_enterprise_debuginfo | — | — |
| suse | linux_enterprise_desktop | — | — |
| suse | linux_enterprise_server | — | — |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv6.8MEDIUM
vendor_debian6.8MEDIUM
vendor_redhat6.8MEDIUM
vendor_ubuntu2.6LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w9wj-9x52-h75c: Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2
ghsa_unreviewed·2022-05-14
CVE-2015-1781 [MEDIUM] CWE-119 GHSA-w9wj-9x52-h75c: Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2
Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.
OSV
eglibc, glibc regression
osv·2016-05-26·CVSS 2.6
CVE-2014-9761 [LOW] eglibc, glibc regression
eglibc, glibc regression
USN-2985-1 fixed vulnerabilities in the GNU C Library. The fix for
CVE-2014-9761 introduced a regression which affected applications that
use the libm library but were not fully restarted after the upgrade.
This update removes the fix for CVE-2014-9761 and a future update
will be provided to address this issue.
We apologize for the inconvenience.
Original advisory details:
Martin Carpenter discovered that pt_chown in the GNU C Library did not
properly check permissions for tty files. A local attacker could use this
to gain administrative privileges or expose sensitive information.
(CVE-2013-2207, CVE-2016-2856)
Robin Hack discovered that the Name Service Switch (NSS) implementation in
the GNU C Library did not properly manage its file descriptors. An attacker
OSV
eglibc, glibc vulnerabilities
osv·2016-05-25·CVSS 2.6
CVE-2013-2207 [LOW] eglibc, glibc vulnerabilities
eglibc, glibc vulnerabilities
Martin Carpenter discovered that pt_chown in the GNU C Library did not
properly check permissions for tty files. A local attacker could use this
to gain administrative privileges or expose sensitive information.
(CVE-2013-2207, CVE-2016-2856)
Robin Hack discovered that the Name Service Switch (NSS) implementation in
the GNU C Library did not properly manage its file descriptors. An attacker
could use this to cause a denial of service (infinite loop).
(CVE-2014-8121)
Joseph Myers discovered that the GNU C Library did not properly handle long
arguments to functions returning a representation of Not a Number (NaN). An
attacker could use this to cause a denial of service (stack exhaustion
leading to an application crash) or possibly execute arbitrary code.
(CVE
OSV
CVE-2015-1781: Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2
osv·2015-09-28·CVSS 6.8
CVE-2015-1781 [MEDIUM] CVE-2015-1781: Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2
Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.
Ubuntu
GNU C Library regression
vendor_ubuntu·2016-05-26·CVSS 2.6
CVE-2014-9761 [LOW] GNU C Library regression
Title: GNU C Library regression
Summary: USN-2985-1 introduced a regression in the GNU C Library.
USN-2985-1 fixed vulnerabilities in the GNU C Library. The fix for
CVE-2014-9761 introduced a regression which affected applications that
use the libm library but were not fully restarted after the upgrade.
This update removes the fix for CVE-2014-9761 and a future update
will be provided to address this issue.
We apologize for the inconvenience.
Original advisory details:
Martin Carpenter discovered that pt_chown in the GNU C Library did not
properly check permissions for tty files. A local attacker could use this
to gain administrative privileges or expose sensitive information.
(CVE-2013-2207, CVE-2016-2856)
Robin Hack discovered that the Name Service Switch (NSS) implementation in
th
Ubuntu
GNU C Library vulnerabilities
vendor_ubuntu·2016-05-25·CVSS 2.6
CVE-2013-2207 [LOW] GNU C Library vulnerabilities
Title: GNU C Library vulnerabilities
Summary: Several security issues were fixed in the GNU C Library.
Martin Carpenter discovered that pt_chown in the GNU C Library did not
properly check permissions for tty files. A local attacker could use this
to gain administrative privileges or expose sensitive information.
(CVE-2013-2207, CVE-2016-2856)
Robin Hack discovered that the Name Service Switch (NSS) implementation in
the GNU C Library did not properly manage its file descriptors. An attacker
could use this to cause a denial of service (infinite loop).
(CVE-2014-8121)
Joseph Myers discovered that the GNU C Library did not properly handle long
arguments to functions returning a representation of Not a Number (NaN). An
attacker could use this to cause a denial of service (stack exhaustion
Red Hat
glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
vendor_redhat·2015-04-21·CVSS 6.8
CVE-2015-1781 [MEDIUM] CWE-131 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.
A buffer overflow flaw was found in the way glibc's gethostbyname_r() and other related functions computed the size of a buffer when passed a misaligned buffer as input. An attacker able to make an application call any of these functions with a misaligned buffer could use this flaw to crash the application or, potentially, execute arbitrary code with the permissions of the user running the application.
Debian
CVE-2015-1781: glibc - Buffer overflow in the gethostbyname_r and other unspecified NSS functions in th...
vendor_debian·2015·CVSS 6.8
CVE-2015-1781 [MEDIUM] CVE-2015-1781: glibc - Buffer overflow in the gethostbyname_r and other unspecified NSS functions in th...
Buffer overflow in the gethostbyname_r and other unspecified NSS functions in the GNU C Library (aka glibc or libc6) before 2.22 allows context-dependent attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DNS response, which triggers a call with a misaligned buffer.
Scope: local
bookworm: resolved (fixed in 2.19-20)
bullseye: resolved (fixed in 2.19-20)
forky: resolved (fixed in 2.19-20)
sid: resolved (fixed in 2.19-20)
trixie: resolved (fixed in 2.19-20)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer [fedora-all]
bugzilla·2015-04-22·CVSS 6.8
CVE-2015-1781 [MEDIUM] CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer [fedora-all]
CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue a
Bugzilla
CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
bugzilla·2015-03-06·CVSS 6.8
CVE-2015-1781 [MEDIUM] CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
CVE-2015-1781 glibc: buffer overflow in gethostbyname_r() and related functions with misaligned buffer
Arjun Shankar of Red Hat discovered that gethostbyname_r and related functions compute the size of an input buffer incorrectly if the passed-in buffer is misaligned. This results in a buffer overflow.
Discussion:
Created attachment 999499
resolver.patch
Arjun's patch.
---
Acknowledgements:
This issue was discovered by Arjun Shankar of Red Hat.
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 6
Via RHSA-2015:0863 https://rhn.redhat.com/errata/RHSA-2015-0863.html
---
Created glibc tracking bugs for this issue:
Affects: fedora-all [bug 1214152]
---
Statement:
Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maint
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/177404.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-08/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00036.htmlhttp://www.debian.org/security/2016/dsa-3480http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlhttp://www.securityfocus.com/bid/74255http://www.securitytracker.com/id/1032178http://www.ubuntu.com/usn/USN-2985-1http://www.ubuntu.com/usn/USN-2985-2https://rhn.redhat.com/errata/RHSA-2015-0863.htmlhttps://security.gentoo.org/glsa/201602-02https://sourceware.org/bugzilla/show_bug.cgi?id=18287https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=2959eda9272a03386https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-February/177404.htmlhttp://lists.opensuse.org/opensuse-security-announce/2015-08/msg00019.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-02/msg00036.htmlhttp://www.debian.org/security/2016/dsa-3480http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlhttp://www.securityfocus.com/bid/74255http://www.securitytracker.com/id/1032178http://www.ubuntu.com/usn/USN-2985-1http://www.ubuntu.com/usn/USN-2985-2https://rhn.redhat.com/errata/RHSA-2015-0863.htmlhttps://security.gentoo.org/glsa/201602-02https://sourceware.org/bugzilla/show_bug.cgi?id=18287https://sourceware.org/git/?p=glibc.git%3Ba=commit%3Bh=2959eda9272a03386https://www.sourceware.org/ml/libc-alpha/2015-08/msg00609.html
2015-09-28
Published