{"id":"CVE-2005-3346","state":"PUBLISHED","title":"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","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.","publishedAt":"2005-11-20T21:00:00.000Z","updatedAt":"2024-08-07T23:10:08.459Z","severity":null,"assigner":"debian","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.osvdb.org/20720","https://exchange.xforce.ibmcloud.com/vulnerabilities/23091","http://secunia.com/advisories/17967","http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312","http://www.debian.org/security/2005/dsa-918","http://www.securityfocus.com/bid/15370","http://secunia.com/advisories/17527","http://pulltheplug.org/users/core/files/x_osh3.sh","http://www.vupen.com/english/advisories/2005/2378"],"weaknesses":[],"ingestedAt":"2026-10-29T19:27:25.655Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2005/3xxx/CVE-2005-3346.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2005-3346","state":"PUBLISHED","datePublished":"2005-11-20T21:00:00.000Z","dateUpdated":"2024-08-07T23:10:08.459Z","assignerShortName":"debian","assignerOrgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5","dateReserved":"2005-10-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.osvdb.org/20720","name":"20720","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23091","name":"osh-main-execute-code(23091)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/17967","name":"17967","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2005/dsa-918","name":"DSA-918","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/15370","name":"15370","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://secunia.com/advisories/17527","name":"17527","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://pulltheplug.org/users/core/files/x_osh3.sh","tags":["x_refsource_MISC"]},{"url":"http://www.vupen.com/english/advisories/2005/2378","name":"ADV-2005-2378","tags":["vdb-entry","x_refsource_VUPEN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"debian","dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"79363d38-fa19-49d1-9214-5f28da3f3ac5"},"datePublic":"2005-11-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@debian.org","ID":"CVE-2005-3346","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20720","refsource":"OSVDB","url":"http://www.osvdb.org/20720"},{"name":"osh-main-execute-code(23091)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23091"},{"name":"17967","refsource":"SECUNIA","url":"http://secunia.com/advisories/17967"},{"name":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312","refsource":"CONFIRM","url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312"},{"name":"DSA-918","refsource":"DEBIAN","url":"http://www.debian.org/security/2005/dsa-918"},{"name":"15370","refsource":"BID","url":"http://www.securityfocus.com/bid/15370"},{"name":"17527","refsource":"SECUNIA","url":"http://secunia.com/advisories/17527"},{"name":"http://pulltheplug.org/users/core/files/x_osh3.sh","refsource":"MISC","url":"http://pulltheplug.org/users/core/files/x_osh3.sh"},{"name":"ADV-2005-2378","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2005/2378"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.osvdb.org/20720","name":"20720","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/23091","name":"osh-main-execute-code(23091)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/17967","name":"17967","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338312","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2005/dsa-918","name":"DSA-918","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/15370","name":"15370","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://secunia.com/advisories/17527","name":"17527","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://pulltheplug.org/users/core/files/x_osh3.sh","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2005/2378","name":"ADV-2005-2378","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T23:10:08.459Z"}}]}}}