{"id":"CVE-2022-45143","state":"PUBLISHED","title":"Apache Tomcat: JsonErrorReportValve escaping","description":"The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.","publishedAt":"2023-01-03T18:12:28.351Z","updatedAt":"2024-08-03T14:09:56.475Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Tomcat"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":"affected","versions":[{"version":"10.1.0-M1","status":"affected","lessThanOrEqual":"10.1.1","versionType":"semver"},{"version":"9.0.40","status":"affected","lessThanOrEqual":"9.0.68","versionType":"semver"},{"version":"8.5.83","status":"affected"}]}],"references":["https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj","https://security.gentoo.org/glsa/202305-37","https://security.netapp.com/advisory/ntap-20230216-0009/"],"weaknesses":["CWE-116"],"ingestedAt":"2026-10-29T19:50:51.061Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/45xxx/CVE-2022-45143.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-45143","state":"PUBLISHED","datePublished":"2023-01-03T18:12:28.351Z","dateUpdated":"2024-08-03T14:09:56.475Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2022-11-10T15:00:33.203Z"},"containers":{"cna":{"title":"Apache Tomcat: JsonErrorReportValve escaping","descriptions":[{"lang":"en","value":"The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":"affected","versions":[{"version":"10.1.0-M1","status":"affected","lessThanOrEqual":"10.1.1","versionType":"semver"},{"version":"9.0.40","status":"affected","lessThanOrEqual":"9.0.68","versionType":"semver"},{"version":"8.5.83","status":"affected"}]}],"references":[{"url":"https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-37"}],"metrics":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","description":"CWE-116 Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-06-27T12:57:14.452Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20230216-0009/"},{"url":"https://lists.apache.org/thread/yqkd183xrw3wqvnpcg3osbcryq85fkzj","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202305-37","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T14:09:56.475Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-01T14:55:21.394332Z","id":"CVE-2022-45143","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-01T14:55:50.547Z"}}]}}}