CVE-2022-43996
Csaf Provider Project Csaf Provider vulnerability
The csaf_provider package before 0.8.2 allows XSS via a crafted CSAF document uploaded as text/html. The endpoint upload allows valid CSAF advisories (JSON format) to be uploaded with Content-Type text/html and filenames ending in .html. When subsequently accessed via web browser, these advisories are served and interpreted as HTML pages. Such uploaded advisories can contain JavaScript code that will execute within the browser context of users inspecting the advisory.
Affected products
Csaf Provider. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Csaf Provider Project Csaf Provider runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- wid.cert-bund.de/.well-known/csaf/white/2022/bsi-2022-0003.json · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-43996
- github.com/csaf-poc/csaf_distribution/releases/tag/v0.8.2
- github.com/csaf-poc/csaf_distribution/commit/17f22855ee8d4270dd17ff748c30ed7304846fdc
- github.com/advisories/GHSA-xxfx-w2rw-gh63
- nvd.nist.gov/vuln/detail/CVE-2022-43996
- cve.org/CVERecord?id=CVE-2022-43996
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.