Skip to content

JS: fix the check for an "mjs" extension on an extensionless file #2347

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

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

esbena
Copy link
Contributor

@esbena esbena commented Nov 15, 2019

This bugfix allows us to resolve require-imports in files without extensions.

The fix enables us to flag: CVE-2018-16479.

An evaluation is on the way.

It is (apparently) tricky to make qltest test the fix, but it has been confirmed locally with codeql ... invocations that this fix works.

I am opening this PR now to get it into the 1.23 workflow.

@esbena esbena added the JS label Nov 15, 2019
@esbena esbena added this to the 1.23 milestone Nov 15, 2019
@esbena esbena requested a review from a team as a code owner November 15, 2019 14:34
@esbena esbena added the WIP This is a work-in-progress, do not merge yet! label Nov 15, 2019
@joshhale joshhale changed the base branch from master to rc/1.23 November 15, 2019 15:01
@erik-krogh erik-krogh merged commit ddd2176 into github:rc/1.23 Nov 15, 2019
@esbena
Copy link
Contributor Author

esbena commented Nov 15, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
JS WIP This is a work-in-progress, do not merge yet!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants