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

fix(dev-env): CWE-367 in getConfigurationFileOptions() #1652

Merged
merged 1 commit into from
Jan 18, 2024
Merged

Conversation

sjinks
Copy link
Member

@sjinks sjinks commented Jan 15, 2024

Description

This PR fixes a TOCTOU in getConfigurationFileOptions().

Fixes: #1651

Ref: https://github.com/Automattic/vip-cli/security/code-scanning/11

Pull request checklist

New release checklist

Steps to Test

CI should pass.

@sjinks sjinks added the [Type] Bug Something isn't working label Jan 15, 2024
@sjinks sjinks self-assigned this Jan 15, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@sjinks sjinks merged commit 78540be into trunk Jan 18, 2024
16 checks passed
@sjinks sjinks deleted the GH-1651 branch January 18, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Potential file system race condition (CWE-367) in getConfigurationFileOptions()
2 participants