GSD-2021-23420
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-23420",
"description": "This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.",
"id": "GSD-2021-23420"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-23420"
],
"details": "This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.",
"id": "GSD-2021-23420",
"modified": "2023-12-13T01:23:30.073595Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"DATE_PUBLIC": "2021-08-11T12:13:10.471521Z",
"ID": "CVE-2021-23420",
"STATE": "PUBLIC",
"TITLE": "Deserialization of Untrusted Data"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "codeception/codeception",
"version": {
"version_data": [
{
"version_affected": "\u003e=",
"version_value": "4.0.0"
},
{
"version_affected": "\u003c",
"version_value": "4.1.22"
},
{
"version_affected": "\u003c",
"version_value": "3.1.3"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "JinYiTong"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 7.7,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:F/RL:O/RC:C",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Deserialization of Untrusted Data"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/JinYiTong/poc",
"refsource": "MISC",
"url": "https://github.com/JinYiTong/poc"
},
{
"name": "https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585"
},
{
"name": "https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52",
"refsource": "MISC",
"url": "https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52"
},
{
"name": "https://github.com/Codeception/Codeception/pull/6241",
"refsource": "MISC",
"url": "https://github.com/Codeception/Codeception/pull/6241"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c3.1.3||\u003e=4.0.0,\u003c4.1.22",
"affected_versions": "All versions before 3.1.3, all versions starting from 4.0.0 before 4.1.22",
"cvss_v2": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2021-08-19",
"description": "The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.",
"fixed_versions": [
"3.1.3",
"4.1.22"
],
"identifier": "CVE-2021-23420",
"identifiers": [
"CVE-2021-23420"
],
"not_impacted": "All versions starting from 3.1.3 before 4.0.0, all versions starting from 4.1.22",
"package_slug": "packagist/codeception/codeception",
"pubdate": "2021-08-11",
"solution": "Upgrade to versions 3.1.3, 4.1.22 or above.",
"title": "Deserialization of Untrusted Data",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23420"
],
"uuid": "e5e0453e-5915-41d2-bdbc-ec23dbe28edc"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "3.1.3",
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "4.1.22",
"versionStartIncluding": "4.0.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2021-23420"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "This affects the package codeception/codeception from 4.0.0 and before 4.1.22, before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-502"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/Codeception/Codeception/pull/6241",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/Codeception/Codeception/pull/6241"
},
{
"name": "https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585"
},
{
"name": "https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52",
"refsource": "MISC",
"tags": [
"Broken Link"
],
"url": "https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52"
},
{
"name": "https://github.com/JinYiTong/poc",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://github.com/JinYiTong/poc"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "COMPLETE",
"baseScore": 10.0,
"confidentialityImpact": "COMPLETE",
"integrityImpact": "COMPLETE",
"vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 10.0,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2021-08-19T19:42Z",
"publishedDate": "2021-08-11T13:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…