{"id":"CVE-2021-29620","published":"2021-06-23T17:35:11Z","modified":"2024-08-03T22:11:06Z","title":"XXE vulnerability on Launch import with externally-defined DTD file","vendor":"reportportal","product":"reportportal","tier":"tail","description":{"text":"Report portal is an open source reporting and analysis framework. Starting from version 3.1.0 of the service-api XML parsing was introduced. Unfortunately the XML parser was not configured properly to prevent XML external entity (XXE) attacks. This allows a user to import a specifically-crafted XML file which imports external Document Type Definition (DTD) file with external entities for extraction of secrets from Report Portal service-api module or server-side request forgery. This will be resolved in the 5.4.0 release.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02227,"percentile":0.8316,"provenance":"source"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"references":[{"url":"https://github.com/reportportal/reportportal/security/advisories/GHSA-24wf-7vf2-pv59","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/reportportal/service-api/pull/1392","tags":["x_refsource_MISC"]},{"url":"https://mvnrepository.com/artifact/com.epam.reportportal/service-api","tags":["x_refsource_MISC"]}],"priority":{"score":21.9,"factors":[{"name":"EPSS percentile","points":16.63},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"reportportal","affectedVersions":[{"vendor":"reportportal","product":"reportportal","versions":[">= 3.1.0, < 5.4.0"]}],"affected":[{"ecosystem":"Maven","package":"com.epam.reportportal:service-api","vulnerableRanges":[">=3.1.0, <5.4.0"],"patched":["5.4.0"],"from":["GHSA-24wf-7vf2-pv59"],"provenance":"source"}],"summary":{"text":"The XML parser used by the service-api component of ReportPortal's reporting and analysis framework, introduced in version 3.1.0, is not configured to block XML external entity (XXE) processing, which is the flaw. An attacker who can submit a crafted XML file for Launch import, which requires no privileges or user interaction over the network, can make the server load an external DTD and its external entities to extract secrets from the service-api module or perform server-side request forgery.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:56:43Z"},"euvd":{"id":"EUVD-2021-1237","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-reportportal-cve-2020-12642","parents":[{"from":"CVE-2020-12642","to":"CVE-2021-29620","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.epam.reportportal:service-api","fromFixed":"5.1.1","toFixed":"5.4.0","daysApart":415},{"kind":"same-code","provenance":"machine","files":["src/main/java/com/epam/ta/reportportal/core/imprt/impl/junit/XunitParseJob.java"],"commits":["https://github.com/reportportal/service-api/commit/da4a012abdcc69f02f4255d81466f1f473b7f418","https://github.com/reportportal/service-api/commit/a73e0dfb4eda844c37139df1f9847013d55f084e"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2020-12642","published":"2020-05-04","fixed":"5.1.1","kev":false},{"cve":"CVE-2021-29620","published":"2021-06-23","fixed":"5.4.0","kev":false},{"cve":"CVE-2023-25822","published":"2023-10-09","fixed":"5.10.0","kev":false}],"package":"Maven:com.epam.reportportal:service-api"}}