Vulnerability CVE-2008-3916


Published: 2008-09-04   Modified: 2011-03-07

Description:
Heap-based buffer overflow in the strip_escapes function in signal.c in GNU ed before 1.0 allows context-dependent or user-assisted attackers to execute arbitrary code via a long filename. NOTE: since ed itself does not typically run with special privileges, this issue only crosses privilege boundaries when ed is invoked as a third-party component.

Type:

CWE-119

(Improper Restriction of Operations within the Bounds of a Memory Buffer)

Vendor: GNU
Product: ED 
Version:
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2

CVSS2 => (AV:N/AC:M/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
9.3/10
10/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete

 References:
https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00873.html
https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00847.html
http://xforce.iss.net/xforce/xfdb/44643
http://www.vupen.com/english/advisories/2011/0212
http://www.vupen.com/english/advisories/2010/0528
http://www.vupen.com/english/advisories/2008/3347
http://www.vupen.com/english/advisories/2008/2642
http://www.vmware.com/security/advisories/VMSA-2009-0003.html
http://www.securitytracker.com/id?1020734
http://www.securityfocus.com/bid/30815
http://www.securityfocus.com/archive/1/archive/1/501298/100/0/threaded
http://www.redhat.com/support/errata/RHSA-2008-0946.html
http://www.mandriva.com/security/advisories?name=MDVSA-2008:200
http://support.avaya.com/elmodocs2/security/ASA-2008-461.htm
http://security.gentoo.org/glsa/glsa-200809-15.xml
http://secunia.com/advisories/43068
http://secunia.com/advisories/38794
http://secunia.com/advisories/33005
http://secunia.com/advisories/32460
http://secunia.com/advisories/32349
http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:10678
http://lists.vmware.com/pipermail/security-announce/2010/000082.html
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
http://lists.gnu.org/archive/html/bug-ed/2008-08/msg00000.html

Related CVE
CVE-2017-5336
Stack-based buffer overflow in the cdk_pk_get_keyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attackers to have unspecified impact via a crafted OpenPGP certificate.
CVE-2017-5337
Multiple heap-based buffer overflows in the read_attribute function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to have unspecified impact via a crafted OpenPGP certificate.
CVE-2017-5334
Double free vulnerability in the gnutls_x509_ext_import_proxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attackers to have unspecified impact via crafted policy language information in an X.509 certificate with a Proxy Cert...
CVE-2017-5335
The stream reading functions in lib/opencdk/read-packet.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to cause a denial of service (out-of-memory error and crash) via a crafted OpenPGP certificate.
CVE-2017-7227
GNU linker (ld) in GNU Binutils 2.28 is vulnerable to a heap-based buffer overflow while processing a bogus input script, leading to a program crash. This relates to lack of '\0' termination of a name field in ldlex.l.
CVE-2017-7223
GNU assembler in GNU Binutils 2.28 is vulnerable to a global buffer overflow (of size 1) while attempting to unget an EOF character from the input stream, potentially leading to a program crash.
CVE-2017-7224
The find_nearest_line function in objdump in GNU Binutils 2.28 is vulnerable to an invalid write (of size 1) while disassembling a corrupt binary that contains an empty function name, leading to a program crash.
CVE-2017-7225
The find_nearest_line function in addr2line in GNU Binutils 2.28 does not handle the case where the main file name and the directory name are both empty, triggering a NULL pointer dereference and an invalid write, and leading to a program crash.

Copyright 2017, cxsecurity.com