GHSA-77xj-x4rm-935c: datamodel-code-generator: Protobuf weak-import path traversal allows files to be written outside
Source: github.com
When processing an attacker-controlled Protobuf schema, vulnerable versions of datamodel-code-generator could write a generated weak-import stub outside the intended __weak_imports__ temporary directory. Absolute import paths and relative paths containing .. could escape this directory. An attacker could create directories and new files at locations writable by the process. Relative path traversal could also overwrite existing writable files because the existence check and the stub write used different base directories. …
Signalsas the pipeline stamped them
High High-risk vulnerability — CVSS 7.5
CVEKEV and EPSS where known
Get the next one first
Every story goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.