CVE-2005-3346

high

Description

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.

References

https://exchange.xforce.ibmcloud.com/vulnerabilities/23091

http://www.vupen.com/english/advisories/2005/2378

http://www.securityfocus.com/bid/15370

http://www.osvdb.org/20720

http://www.debian.org/security/2005/dsa-918

http://secunia.com/advisories/17967

http://secunia.com/advisories/17527

http://pulltheplug.org/users/core/files/x_osh3.sh

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312

Details

Source: Mitre, NVD

Published: 2005-11-20

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 7.2

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

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High