Link Grammar: User-assisted execution of arbitrary code — GLSA 200711-27

A buffer overflow vulnerability has been discovered in Link Grammar.

Affected Packages

dev-libs/link-grammar on all architectures
Affected versions < 4.2.4-r1
Unaffected versions >= 4.2.4-r1

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

Release Date
November 18, 2007

Latest Revision
November 18, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries