Search
Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
2 vulnerabilities by simonsmith
CVE-2023-38695 (GCVE-0-2023-38695)
Vulnerability from nvd – Published: 2023-08-04 17:25 – Updated: 2024-10-04 19:39
VLAI
Title
cypress-image-snapshot vulnerable to insecure snapshot file names
Summary
cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.
Severity
6.5 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_CONFIRM |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| simonsmith | cypress-image-snapshot |
Affected:
<= 8.0.1
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T17:46:56.567Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/issues/15",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/issues/15"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-38695",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-10-04T19:39:39.519261Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-10-04T19:39:48.430Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "cypress-image-snapshot",
"vendor": "simonsmith",
"versions": [
{
"status": "affected",
"version": "\u003c= 8.0.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it\u0027s possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.\n\n\n"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-08-04T17:25:18.810Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/issues/15",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/issues/15"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2"
}
],
"source": {
"advisory": "GHSA-vxjg-hchx-cc4g",
"discovery": "UNKNOWN"
},
"title": "cypress-image-snapshot vulnerable to insecure snapshot file names"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2023-38695",
"datePublished": "2023-08-04T17:25:18.810Z",
"dateReserved": "2023-07-24T16:19:28.364Z",
"dateUpdated": "2024-10-04T19:39:48.430Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
CVE-2023-38695 (GCVE-0-2023-38695)
Vulnerability from cvelistv5 – Published: 2023-08-04 17:25 – Updated: 2024-10-04 19:39
VLAI
Title
cypress-image-snapshot vulnerable to insecure snapshot file names
Summary
cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.
Severity
6.5 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator (v2.0.3)
CWE
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_CONFIRM |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
| https://github.com/simonsmith/cypress-image-snaps… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| simonsmith | cypress-image-snapshot |
Affected:
<= 8.0.1
|
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-02T17:46:56.567Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/issues/15",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/issues/15"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2",
"tags": [
"x_refsource_MISC",
"x_transferred"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2023-38695",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-10-04T19:39:39.519261Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-10-04T19:39:48.430Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "cypress-image-snapshot",
"vendor": "simonsmith",
"versions": [
{
"status": "affected",
"version": "\u003c= 8.0.1"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it\u0027s possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.\n\n\n"
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2023-08-04T17:25:18.810Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/issues/15",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/issues/15"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4"
},
{
"name": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2"
}
],
"source": {
"advisory": "GHSA-vxjg-hchx-cc4g",
"discovery": "UNKNOWN"
},
"title": "cypress-image-snapshot vulnerable to insecure snapshot file names"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2023-38695",
"datePublished": "2023-08-04T17:25:18.810Z",
"dateReserved": "2023-07-24T16:19:28.364Z",
"dateUpdated": "2024-10-04T19:39:48.430Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}