Executive Summary

Summary
Title Link Grammar: User-assisted execution of arbitrary code
Informations
Name GLSA-200711-27 First vendor Publication 2007-11-18
Vendor Gentoo Last vendor Modification 2007-11-18
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:C/I:C/A:C)
Cvss Base Score 10 Attack Range Network
Cvss Impact Score 10 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A buffer overflow vulnerability has been discovered in Link Grammar.

Background

The Link Grammar parser is a syntactic parser of English, based on link grammar, an original theory of English syntax.

Description

Alin Rad Pop from Secunia Research discovered a boundary error in the function separate_sentence() in file tokenize.c when processing an overly long word which might lead to a stack-based buffer overflow.

Impact

A remote attacker could entice a user to parse a specially crafted sentence, resulting in the remote execution of arbitrary code with the privileges of the user running the application. Note that this vulnerability may be triggered by an application using Link Grammar to parse sentences (e.g. AbiWord).

Workaround

There is no known workaround at this time.

Resolution

All Link Grammar users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/link-grammar-4.2.4-r1"

References

[ 1 ] CVE-2007-5395 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5395

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200711-27.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200711-27.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:17567
 
Oval ID: oval:org.mitre.oval:def:17567
Title: USN-545-1 -- link-grammar vulnerability
Description: Alin Rad Pop discovered that AbiWord's Link Grammar parser did not correctly handle overly-long words.
Family: unix Class: patch
Reference(s): USN-545-1
CVE-2007-5395
Version: 7
Platform(s): Ubuntu 7.10
Product(s): link-grammar
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20331
 
Oval ID: oval:org.mitre.oval:def:20331
Title: DSA-1432-1 link-grammar - buffer overflow
Description: Alin Rad Pop discovered that link-grammar, Carnegie Mellon University's link grammar parser for English, performed insufficient validation within its tokenizer, which could allow a malicious input file to execute arbitrary code.
Family: unix Class: patch
Reference(s): DSA-1432-1
CVE-2007-5395
Version: 5
Platform(s): Debian GNU/Linux 4.0
Product(s): link-grammar
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1
Application 1

OpenVAS Exploits

Date Description
2009-03-23 Name : Ubuntu Update for link-grammar vulnerability USN-545-1
File : nvt/gb_ubuntu_USN_545_1.nasl
2009-02-27 Name : Fedora Update for link-grammar FEDORA-2007-3235
File : nvt/gb_fedora_2007_3235_link-grammar_fc8.nasl
2009-02-27 Name : Fedora Update for link-grammar FEDORA-2007-3339
File : nvt/gb_fedora_2007_3339_link-grammar_fc7.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200711-27 (link-grammar)
File : nvt/glsa_200711_27.nasl
2008-01-17 Name : Debian Security Advisory DSA 1432-1 (link-grammar)
File : nvt/deb_1432_1.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
42074 Link Grammar tokenize.c separate_sentence() Function Overflow

Nessus® Vulnerability Scanner

Date Description
2007-12-17 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1432.nasl - Type : ACT_GATHER_INFO
2007-11-29 Name : The remote Ubuntu host is missing one or more security-related patches.
File : ubuntu_USN-545-1.nasl - Type : ACT_GATHER_INFO
2007-11-20 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200711-27.nasl - Type : ACT_GATHER_INFO
2007-11-15 Name : The remote Fedora host is missing a security update.
File : fedora_2007-3339.nasl - Type : ACT_GATHER_INFO
2007-11-14 Name : The remote Fedora host is missing a security update.
File : fedora_2007-3235.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:21
  • Multiple Updates