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

CVE-2021-28092 in cssnano due to an old version of is-svg #20432

Closed
stanislavgeorgiev opened this issue Apr 1, 2021 · 2 comments
Closed

CVE-2021-28092 in cssnano due to an old version of is-svg #20432

stanislavgeorgiev opened this issue Apr 1, 2021 · 2 comments

Comments

@stanislavgeorgiev
Copy link

Describe the bug
CVE-2021-28092

The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.

└─┬ @angular-devkit/build-angular@0.1102.6
└─┬ cssnano@4.1.10
└─┬ cssnano-preset-default@4.0.7
└─┬ postcss-svgo@4.0.2
└── is-svg@3.0.0

There's already an open defect against the postcss-svgo package and I'm filing this defect to adopt the new version once released

@alan-agius4
Copy link
Collaborator

Duplicate of #20317

@alan-agius4 alan-agius4 marked this as a duplicate of #20317 Apr 1, 2021
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants