Spring Cloud Kubernetes parses ConfigMap and Secret entries ending in .yaml with a SnakeYAML Yaml...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Cloud Kubernetes |
≥ 5.0.0, < 5.0.4.1→ 5.0.4.1 ≥ 3.3.0, < 3.3.5→ 3.3.5 ≥ 3.1.0, < 3.2.5→ 3.2.5 ≥ 5.0.0, < 5.0.5→ 5.0.5 |
5.0.4.1 3.3.5 3.2.5 5.0.5 |
Original description The description as published by the source.
Spring Cloud Kubernetes parses ConfigMap and Secret entries ending in .yaml with a SnakeYAML Yaml instance created without a SafeConstructor or any type restrictions.
If the application's classpath contains a SnakeYAML version earlier than 2.0, an attacker with write access to a ConfigMap or Secret that the application reads can supply a YAML payload that instantiates arbitrary Java types.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web spring.io
- web nvd.nist.gov
- web nvd.nist.gov
- web github.com