The package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted PHP project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk recommends only scanning trusted projects.
Vulnerable Library - snyk-php-plugin-1.9.2.tgz
Snyk CLI PHP plugin
Library home page: https://registry.npmjs.org/snyk-php-plugin/-/snyk-php-plugin-1.9.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/snyk-php-plugin/package.json
Found in HEAD commit: 7e83e87477e0886cad26f767efdb9ffd90d9fbfe
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-48963
### Vulnerable Library - snyk-php-plugin-1.9.2.tgzSnyk CLI PHP plugin
Library home page: https://registry.npmjs.org/snyk-php-plugin/-/snyk-php-plugin-1.9.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/snyk-php-plugin/package.json
Dependency Hierarchy: - :x: **snyk-php-plugin-1.9.2.tgz** (Vulnerable Library)
Found in HEAD commit: 7e83e87477e0886cad26f767efdb9ffd90d9fbfe
Found in base branch: main
### Vulnerability DetailsThe package Snyk CLI before 1.1294.0 is vulnerable to Code Injection when scanning an untrusted PHP project. The vulnerability can be triggered if Snyk test is run inside the untrusted project due to the improper handling of the current working directory name. Snyk recommends only scanning trusted projects.
Publish Date: 2024-10-23
URL: CVE-2024-48963
### Threat AssessmentExploit Maturity: Not Defined
EPSS: 0.1%
### CVSS 3 Score Details (9.8)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-69f9-h8f9-7vjf
Release Date: 2024-10-23
Fix Resolution: snyk-php-plugin - 1.10.0
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.