GHSA-wf6j-7hvr-gr93: Hydra legacy target blacklist permits unsafe PyYAML loading
Hydra’s legacy target blacklist omits PyYAML’s unsafe loading surfaces. If an application passes attacker-controlled targets and arguments to instantiate(), a target such as yaml.unsafe_load can execute Python code through a config-controlled YAML stream containing Python object-construction tags.
References
- github.com/advisories/GHSA-wf6j-7hvr-gr93
- github.com/hydra-ecosystem/hydra/commit/9a7a9a287d565311183da3392bee4345a7fab6d7
- github.com/hydra-ecosystem/hydra/commit/de5554320c17cd2d974492c03d0b1456adb4a8ef
- github.com/hydra-ecosystem/hydra/releases/tag/v1.3.8
- github.com/hydra-ecosystem/hydra/releases/tag/v1.4.0rc3
- github.com/hydra-ecosystem/hydra/security/advisories/GHSA-757g-8w3h-hp29
Code Behaviors & Features
Detect and mitigate GHSA-wf6j-7hvr-gr93 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →