Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger Version in Flask Restplus needs to be updated due to some Vulnerability in CSS in 3.19.0 Version. #782

Open
hcmania opened this issue Feb 28, 2020 · 0 comments

Comments

@hcmania
Copy link

hcmania commented Feb 28, 2020

Xray scanning shows some vulnerability in the Swagger version in the existing flask restplus version 0.13.0.

It needs to be updated to 3.23.11 or higher?

Is anyone else also facing this issue and is there support of updating this to the latest version of swagger documentation.

16:56:10 Security Violations against xray policy:
16:56:10 {
16:56:10 "id": "",
16:56:10 "severity": "High",
16:56:10 "summary": "A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that <style>@import within the JSON data was a functional attack method.",
16:56:10 "issue_type": "security",
16:56:10 "provider": "JFrog",
16:56:10 "component": "swagger-ui",
16:56:10 "source_id": "npm://swagger-ui",
16:56:10 "source_comp_id": "npm://swagger-ui:3.19.0",
16:56:10 "component_versions": {
16:56:10 "id": "swagger-ui",
16:56:10 "vulnerable_versions": [
16:56:10 "3.14.1 \u2264 Version < 3.23.11"
16:56:10 ],
16:56:10 "fixed_versions": [
16:56:10 "3.23.11"
16:56:10 ],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant