{"api_version":"1","generated_at":"2026-07-23T03:45:06+00:00","cve":"CVE-2003-0042","urls":{"html":"https://cve.report/CVE-2003-0042","api":"https://cve.report/api/cve/CVE-2003-0042.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2003-0042","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2003-0042"},"summary":{"title":"CVE-2003-0042","description":"Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character.","state":"PUBLISHED","assigner":"mitre","published_at":"2003-02-07 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/","name":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"The Jakarta Site - Binary Downloads","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/7972","name":"http://secunia.com/advisories/7972","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Debian updates to tomcat","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/advisories/5111","name":"http://www.securityfocus.com/advisories/5111","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus HOME Advisories: SSRT3522 Sec. Vulnerabilities in Tomcat 3.3.1","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt","name":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"404 Not Found","mime":"text/plain","httpstatus":"404","archivestatus":"200"},{"url":"http://www.ciac.org/ciac/bulletins/n-060.shtml","name":"http://www.ciac.org/ciac/bulletins/n-060.shtml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"N-060: Vulnerabilities in Tomcat 3.3.1","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://marc.info/?l=bugtraq&m=104394568616290&w=2","name":"http://marc.info/?l=bugtraq&m=104394568616290&w=2","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2003/dsa-246","name":"http://www.debian.org/security/2003/dsa-246","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"Debian -- Security Information -- DSA-246-1 tomcat","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/6721","name":"http://www.securityfocus.com/bid/6721","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Apache Tomcat Null Byte Directory/File Disclosure Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11194","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11194","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/7977","name":"http://secunia.com/advisories/7977","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Secunia - Advisories - Apache Tomcat directory listing","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2003-0042","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0042","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.2.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.2.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.2.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2003","cve_id":"42","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"apache","cpe5":"tomcat","cpe6":"3.3.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2003-0042","qid":"996420","title":"Java (Maven) Security Update for org.apache.tomcat:tomcat (GHSA-qfw2-wvrw-mvw4)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T01:43:35.163Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"DSA-246","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2003/dsa-246"},{"name":"6721","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/6721"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/"},{"name":"20030130 Apache Jakarta Tomcat 3 URL parsing vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://marc.info/?l=bugtraq&m=104394568616290&w=2"},{"name":"HPSBUX0303-249","tags":["vendor-advisory","x_refsource_HP","x_transferred"],"url":"http://www.securityfocus.com/advisories/5111"},{"name":"tomcat-null-directory-listing(11194)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11194"},{"name":"N-060","tags":["third-party-advisory","government-resource","x_refsource_CIAC","x_transferred"],"url":"http://www.ciac.org/ciac/bulletins/n-060.shtml"},{"name":"7977","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/7977"},{"name":"7972","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/7972"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2003-01-25T00:00:00.000Z","descriptions":[{"lang":"en","value":"Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-07-10T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"DSA-246","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2003/dsa-246"},{"name":"6721","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/6721"},{"tags":["x_refsource_CONFIRM"],"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/"},{"name":"20030130 Apache Jakarta Tomcat 3 URL parsing vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://marc.info/?l=bugtraq&m=104394568616290&w=2"},{"name":"HPSBUX0303-249","tags":["vendor-advisory","x_refsource_HP"],"url":"http://www.securityfocus.com/advisories/5111"},{"name":"tomcat-null-directory-listing(11194)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11194"},{"name":"N-060","tags":["third-party-advisory","government-resource","x_refsource_CIAC"],"url":"http://www.ciac.org/ciac/bulletins/n-060.shtml"},{"name":"7977","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/7977"},{"name":"7972","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/7972"},{"tags":["x_refsource_CONFIRM"],"url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2003-0042","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":"Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"DSA-246","refsource":"DEBIAN","url":"http://www.debian.org/security/2003/dsa-246"},{"name":"6721","refsource":"BID","url":"http://www.securityfocus.com/bid/6721"},{"name":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/","refsource":"CONFIRM","url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/"},{"name":"20030130 Apache Jakarta Tomcat 3 URL parsing vulnerability","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=104394568616290&w=2"},{"name":"HPSBUX0303-249","refsource":"HP","url":"http://www.securityfocus.com/advisories/5111"},{"name":"tomcat-null-directory-listing(11194)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11194"},{"name":"N-060","refsource":"CIAC","url":"http://www.ciac.org/ciac/bulletins/n-060.shtml"},{"name":"7977","refsource":"SECUNIA","url":"http://secunia.com/advisories/7977"},{"name":"7972","refsource":"SECUNIA","url":"http://secunia.com/advisories/7972"},{"name":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt","refsource":"CONFIRM","url":"http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2003-0042","datePublished":"2003-01-29T05:00:00.000Z","dateReserved":"2003-01-27T00:00:00.000Z","dateUpdated":"2024-08-08T01:43:35.163Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2003-02-07 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.0:*:*:*:*:*:*:*","matchCriteriaId":"BAFF8D91-80A2-454A-8B44-A5A889002692"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.1:*:*:*:*:*:*:*","matchCriteriaId":"FEC42876-65AD-476A-8B62-25D4E15D1BB6"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.1.1:*:*:*:*:*:*:*","matchCriteriaId":"724A8FF9-8089-4302-8200-08987A712988"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.2:*:*:*:*:*:*:*","matchCriteriaId":"3F97DDB7-E32B-422F-8AEA-07C75DEAD36E"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.2.1:*:*:*:*:*:*:*","matchCriteriaId":"7079F63C-7CA8-4909-A9C8-45C4C1C1C186"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.2.3:*:*:*:*:*:*:*","matchCriteriaId":"EC829C8E-1061-4F62-BA4B-FE5C7F11F209"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.2.4:*:*:*:*:*:*:*","matchCriteriaId":"143BA75E-A186-47EF-A18C-B1A1A1F61C00"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.3:*:*:*:*:*:*:*","matchCriteriaId":"C0CDF9E1-9412-450E-B1D4-438F128FFF9E"},{"vulnerable":true,"criteria":"cpe:2.3:a:apache:tomcat:3.3.1:*:*:*:*:*:*:*","matchCriteriaId":"32561F50-6385-4D71-AFAC-3D2F8DB55A4B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2003","CveId":"42","Ordinal":"1","Title":"CVE-2003-0042","CVE":"CVE-2003-0042","Year":"2003"},"notes":[{"CveYear":"2003","CveId":"42","Ordinal":"1","NoteData":"Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character.","Type":"Description","Title":"CVE-2003-0042"},{"CveYear":"2003","CveId":"42","Ordinal":"2","NoteData":"2003-01-29","Type":"Other","Title":"Published"},{"CveYear":"2003","CveId":"42","Ordinal":"3","NoteData":"2017-07-10","Type":"Other","Title":"Modified"}]}}}