Vulnerability in Osh
CVE-2005-3346
Buffer overflow in the environment variable substitution code in main.c in OSH 1.7-14 allows local users to inject arbitrary environment variables, such as LD_PRELOAD, via pathname arguments of the form "$VAR/EVAR=arg", which cause the EVAR portion to be appended to a buffer returned by a getenv function call.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.2 (High). Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.008, 58.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Osh — versions 1.7.14
References
- www.osvdb.org/20720 (vdb-entry)
- osh-main-execute-code(23091) (vdb-entry)
- secunia.com/advisories/17967 (third-party-advisory)
- bugs.debian.org/cgi-bin/bugreport.cgi
- DSA-918 (vendor-advisory)
- www.securityfocus.com/bid/15370 (vdb-entry)
- secunia.com/advisories/17527 (third-party-advisory, Vendor Advisory)
- pulltheplug.org/users/core/files/x_osh3.sh
- ADV-2005-2378 (vdb-entry)