Gentoo Logo

Link Grammar: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200711-27 / link-grammar
Release Date November 18, 2007
Latest Revision November 18, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-libs/link-grammar < 4.2.4-r1 >= 4.2.4-r1 All supported architectures

Related bugreports: #196803

Synopsis

A buffer overflow vulnerability has been discovered in Link Grammar.

2.  Impact Information

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).

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Link Grammar users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/link-grammar-4.2.4-r1"

4.  References



Print

Page updated November 18, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.