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

Uncontrolled Resource Consumption in parse-link-header #179

Open
marcelomachado opened this issue Mar 17, 2023 · 3 comments
Open

Uncontrolled Resource Consumption in parse-link-header #179

marcelomachado opened this issue Mar 17, 2023 · 3 comments

Comments

@marcelomachado
Copy link
Contributor

The package parse-link-header before 2.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via the checkHeader function. See:
https://github.com/IBM/tpf-conceptnet-datasource/security/dependabot/1

The dependency chain is as follows: parse-link-header 1.0.1 > @comunica/actor-http-native 1.22.1 > rdf-parse 1.9.1 > componentsjs 4.5.0 > @ldf/core 3.2.1 (the one used here). The > represents the required by relation.

@rubensworks
Copy link
Member

Updating to the newest Components.js version should resolve this.
PR is welcome :-)

@marcelomachado
Copy link
Contributor Author

Updating to the newest Components.js version should resolve this. PR is welcome :-)

I don't know if the 5.x.x version may break something. I sent a PR updating to 4.5.0.

@rubensworks
Copy link
Member

I don't know if the 5.x.x version may break something.

I think the latest range is probably what we want if possible, I think remaining in the 4.x range will still give us other bugs that have been fixed in 5.x.

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

2 participants