OPENDIAMOND · CVE-2022-31506 · Package
NO FIX YET · SEE WHAT TO DO
The opendiamond Python package through 10.1.1 passes user-supplied paths to Flask's send_file unsafely, allowing absolute path traversal. An attacker can request files outside the intended directory on the server running it.
first public Jul 11, 2022 · 1 public exploit · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running opendiamond 10.1.1 or earlier as a web service that serves files, where request paths reach send_file. Systems that only import the library without exposing its file-serving routes are less exposed; the sources do not say more.
Not affected if no-file-serving-routes
Who cares flask, pypi, python
pip show opendiamond and see whether it is 10.1.1 or earlier.send_file in code that serves opendiamond data.master branch of the repository; no released fixed version is stated.The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely. A patch is available on the master branch of the repository.
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.