Synk Sweater Comb < 3.8.8 Command Injection via .vervet.yaml Branch Name
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| snyk | sweater-comb | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Snyk | Sweater-comb |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 2.3% (2.315% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Snyk
Snyk sweater-comb |
|
| Vendors & Products |
Snyk
Snyk sweater-comb |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Synk Sweater Comb before 3.8.8 contains a command injection vulnerability that allows an attacker who controls the .vervet.yaml configuration file to execute arbitrary OS commands by injecting malicious input into the linters.<key>.optic-ci.original branch name field. The expectGitBranch() function in src/lint.ts passes the unsanitized branch name directly into child_process.exec() via an unescaped template literal, enabling arbitrary command execution when the lint command is run against the repository. | |
| Title | Synk Sweater Comb < 3.8.8 Command Injection via .vervet.yaml Branch Name | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|