Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTI0d2YtN3ZmMi1wdjU5
XXE vulnerability on Launch import with externally-defined DTD file
Impact
Starting from version 3.1.0 we introduced a new feature of JUnit XML launch import. Unfortunately 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.
Patches
Fixed with: https://github.com/reportportal/service-api/pull/1392
Binaries
docker pull reportportal/service-api:5.4.0
https://github.com/reportportal/service-api/packages/846871?version=5.4.0
For more information
If you have any questions or comments about this advisory email us: [email protected]
Permalink: https://github.com/advisories/GHSA-24wf-7vf2-pv59JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTI0d2YtN3ZmMi1wdjU5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 3 years ago
Updated: over 1 year ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Identifiers: GHSA-24wf-7vf2-pv59, CVE-2021-29620
References:
- https://github.com/reportportal/reportportal/security/advisories/GHSA-24wf-7vf2-pv59
- https://nvd.nist.gov/vuln/detail/CVE-2021-29620
- https://github.com/reportportal/service-api/pull/1392
- https://mvnrepository.com/artifact/com.epam.reportportal/service-api
- https://github.com/reportportal/service-api/commit/a73e0dfb4eda844c37139df1f9847013d55f084e
- https://github.com/advisories/GHSA-24wf-7vf2-pv59
Blast Radius: 2.3
Affected Packages
maven:com.epam.reportportal:service-api
Dependent packages: 0Dependent repositories: 2
Downloads:
Affected Version Ranges: >= 3.1.0, < 5.4.0
Fixed in: 5.4.0
All affected versions: 3.1.1, 3.2.0, 3.2.1, 3.3.2, 4.0.0, 4.1.1, 4.2.1, 4.3.10, 4.3.11, 4.3.12, 5.0.0, 5.1.0, 5.1.1, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.3.0, 5.3.1, 5.3.2, 5.3.3, 5.3.4, 5.3.5
All unaffected versions: 2.6.0, 2.7.2, 3.0.1, 5.7.0, 5.7.1, 5.7.2, 5.7.3, 5.7.4, 5.8.0, 5.11.0