Apache Submarine: Fix CVE-2022-1471 SnakeYaml unsafe deserialization
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
Apache Software Foundation Apache Submarine has a bug when serializing against yaml. The bug is caused by snakeyaml https://nvd.nist.gov/vuln/detail/CVE-2022-1471 . Apache Submarine uses JAXRS to define REST endpoints. In order to handle YAML requests (using application/yaml content-type), it defines a YamlEntityProvider entity provider that will process all incoming YAML requests. In order to unmarshal the request, the readFrom method is invoked, passing the entityStream containing the user-supplied data in `submarine-server/server-core/src/main/java/org/apache/submarine/server/utils/YamlUtils.java`. We have now fixed this issue in the new version by replacing to `jackson-dataformat-yaml`. This issue affects Apache Submarine: from 0.7.0 before 0.8.0. Users are recommended to upgrade to version 0.8.0, which fixes this issue. If using the version smaller than 0.8.0 and not want to upgrade, you can try cherry-pick PR https://github.com/apache/submarine/pull/1054 and rebuild the submart-server image to fix this.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Submarine | 0.7.0 to before 0.8.0 | 0.8.0 | Patch available | CNA |
| — | apache-submarine (PyPI) | 0.7.0 to before 0.8.0 | 0.8.0 | Patch available | GHSA-8hcr-5x2g-9f7j |
- Apache Submarine VendorApache Affected 0.7.0 to before 0.8.0 Fixed in 0.8.0 Patch available CNA
- apache-submarine (PyPI) Vendor— Affected 0.7.0 to before 0.8.0 Fixed in 0.8.0 Patch available GHSA-8hcr-5x2g-9f7j
Remediation
- Fix · CNA Apache Submarine (Apache Software Foundation) Fixed in 0.8.0
- Fix · GHSA-8hcr-5x2g-9f7j apache-submarine (PyPI) Fixed in 0.8.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-46302
- 2026-10-03 Alias added: GHSA-8hcr-5x2g-9f7j
References
Advisory 2
More Apache Submarine vulnerabilities
- TI-2023-19357 Apache Submarine: SQL injection from unauthorized login CVSS 3.1CRITICAL 9.8
- TI-2024-24083 Apache Submarine Commons Utils: default secret CVSS 3.1CRITICAL 9.8
- TI-2024-24084 Apache Submarine Server Core: authorization bypass CVSS 3.1CRITICAL 9.8
- TI-2024-24082 Apache Submarine Server Core: SQL injection CVSS 3.1HIGH 8.1
Sources
- CVE-2023-46302 · CVE Program
- CVE-2023-46302 · NVD
- FIRST EPSS
- GHSA-8hcr-5x2g-9f7j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences