{"schemaVersion":3,"id":"CVE-2004-0747","aliases":["DEBIAN-CVE-2004-0747"],"status":"published","duplicateOf":null,"title":null,"description":"Buffer overflow in Apache 2.0.50 and earlier allows local users to gain apache privileges via a .htaccess file that causes the overflow during expansion of environment variables.","dates":{"published":"2004-09-17T04:00:00.000Z","modified":"2025-01-16T17:47:15.175Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.01607,"percentile":0.75528,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01607},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01607,"percentile":0.75528}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01607,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01607,"percentile":0.75528}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size","description":"The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/131.html"}],"affected":[{"vendor":"apache","product":"http_server","name":"http server","label":"http_server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.0.35, < 2.0.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.0.35, < 2.0.51","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-http-server","label":"Apache HTTP Server","category":"server-app"}},"hubHref":"/vendor/apache/http_server"},{"vendor":"debian","product":"apache2","name":"apache2","label":"apache2","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/apache2","purlType":"deb","versions":[{"text":"< 2.0.51","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.0.51","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.novell.com/linux/security/advisories/2004_32_apache2.html","label":"www.novell.com/linux/security/advisories/2004_32_apache2.html","hostname":"www.novell.com","tags":["Vendor Advisory","X Refsource SUSE","Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-463.html","label":"www.redhat.com/support/errata/RHSA-2004-463.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Broken Link","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17384","label":"exchange.xforce.ibmcloud.com/vulnerabilities/17384","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2009/1233","label":"www.vupen.com/english/advisories/2009/1233","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Broken Link","Permissions Required"]},{"url":"http://secunia.com/advisories/12540","label":"secunia.com/advisories/12540","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link","Not Applicable"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11561","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11561","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Broken Link","Third Party Advisory"]},{"url":"http://secunia.com/advisories/34920","label":"secunia.com/advisories/34920","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link","Not Applicable"]},{"url":"http://www.trustix.org/errata/2004/0047/","label":"www.trustix.org/errata/2004/0047/","hostname":"www.trustix.org","tags":["Vendor Advisory","X Refsource TRUSTIX","Broken Link"]},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:096","label":"www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:096","hostname":"www.mandrakesecure.net","tags":["Vendor Advisory","X Refsource MANDRAKE","Broken Link"]},{"url":"http://support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=205147","label":"support.ca.com/irj/portal/anonymous/phpsupcontent?contentID=205147","hostname":"support.ca.com","tags":["X Refsource MISC","Broken Link"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200409-21.xml","label":"www.gentoo.org/security/en/glsa/glsa-200409-21.xml","hostname":"www.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"http://www.kb.cert.org/vuls/id/481998","label":"www.kb.cert.org/vuls/id/481998","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","US Government Resource"]},{"url":"http://securitytracker.com/id?1011303","label":"securitytracker.com/id?1011303","hostname":"securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Broken Link","Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/54a42d4b01968df1117cea77fc53d6beb931c0e05936ad02af93e9ac%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/5df9bfb86a3b054bb985a45ff9250b0332c9ecc181eec232489e7f79%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r0276683d8e1e07153fc8642618830ac0ade85b9ae0dc7b07f63bb8fc%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r8828e649175df56f1f9e3919938ac7826128525426e2748f0ab62feb%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r2cb985de917e7da0848c440535f65a247754db8b2154a10089e4247b%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r9e8622254184645bc963a1d47c5d47f6d5a36d6f080d8d2c43b2b142%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r8c9983f1172a3415f915ddb7e14de632d2d0c326eb1285755a024165%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://lists.apache.org/thread.html/r5001ecf3d6b2bdd0b732e527654248abb264f08390045d30709a92f6%40%3Ccvs.httpd.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST","Patch"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0747","label":"security-tracker.debian.org/tracker/CVE-2004-0747","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["RHSA-2004:463"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2004-09-17T04:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-01-16T17:47:15.175Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":32,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T08:04:16.548Z","stale":false,"partial":false}}