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

critical Nessus Plugin ID 28266

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200711-27 (Link Grammar: User-assisted execution of arbitrary code)

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200711-27

Plugin Details

Severity: Critical

ID: 28266

File Name: gentoo_GLSA-200711-27.nasl

Version: 1.15

Type: local

Published: 11/20/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:link-grammar, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 11/18/2007

Reference Information

CVE: CVE-2007-5395

CWE: 119

GLSA: 200711-27