gsd-2021-4235
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-4235",
"id": "GSD-2021-4235",
"references": [
"https://access.redhat.com/errata/RHSA-2022:7398",
"https://access.redhat.com/errata/RHSA-2023:0569",
"https://access.redhat.com/errata/RHSA-2023:0570"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-4235"
],
"details": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.",
"id": "GSD-2021-4235",
"modified": "2023-12-13T01:23:11.787283Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2021-4235",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "gopkg.in/yaml.v2",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "2.2.3"
}
]
}
}
]
},
"vendor_name": "gopkg.in/yaml.v2"
},
{
"product": {
"product_data": [
{
"product_name": "github.com/go-yaml/yaml",
"version": {
"version_data": [
{
"version_value": "not down converted",
"x_cve_json_5_version_data": {
"defaultStatus": "affected"
}
}
]
}
}
]
},
"vendor_name": "github.com/go-yaml/yaml"
}
]
}
},
"credits": [
{
"lang": "en",
"value": "@simonferquel"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "CWE 400: Uncontrolled Resource Consumption"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/go-yaml/yaml/pull/375",
"refsource": "MISC",
"url": "https://github.com/go-yaml/yaml/pull/375"
},
{
"name": "https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241",
"refsource": "MISC",
"url": "https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241"
},
{
"name": "https://pkg.go.dev/vuln/GO-2021-0061",
"refsource": "MISC",
"url": "https://pkg.go.dev/vuln/GO-2021-0061"
},
{
"name": "https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html",
"refsource": "MISC",
"url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c=v2.1.0",
"affected_versions": "All versions up to 2.1.0",
"cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2023-02-09",
"description": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.",
"fixed_versions": [],
"identifier": "CVE-2021-4235",
"identifiers": [
"GHSA-r88r-gmrh-7j83",
"CVE-2021-4235"
],
"not_impacted": "",
"package_slug": "go/github.com/go-yaml/yaml",
"pubdate": "2022-12-28",
"solution": "Unfortunately, there is no solution available yet.",
"title": "YAML Go package vulnerable to denial of service",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-4235",
"https://github.com/go-yaml/yaml/pull/375",
"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241",
"https://pkg.go.dev/vuln/GO-2021-0061",
"https://github.com/advisories/GHSA-r88r-gmrh-7j83"
],
"uuid": "7e09e966-66ae-4600-85d2-ca3ed2e0c199",
"versions": [
{
"commit": {
"sha": "cb71201d00a1226edf8f89fb39955595fe32dfef",
"tags": [
"v2.1.0"
],
"timestamp": "20180223190116"
},
"number": "v2.1.0"
}
]
},
{
"affected_range": "\u003cv2.2.3",
"affected_versions": "All versions before 2.2.3",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2022-12-30",
"description": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.",
"fixed_versions": [
"v2.2.3"
],
"identifier": "CVE-2021-4235",
"identifiers": [
"GHSA-r88r-gmrh-7j83",
"CVE-2021-4235"
],
"not_impacted": "All versions starting from 2.2.3",
"package_slug": "go/gopkg.in/yaml.v2",
"pubdate": "2022-12-28",
"solution": "Upgrade to version 2.2.3 or above.",
"title": "YAML Go package vulnerable to denial of service",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-4235",
"https://github.com/go-yaml/yaml/pull/375",
"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241",
"https://pkg.go.dev/vuln/GO-2021-0061",
"https://github.com/advisories/GHSA-r88r-gmrh-7j83"
],
"uuid": "36d853bc-a025-41e1-9c26-0af6d7b3c2c4",
"versions": [
{
"commit": {
"sha": "bb4e33bf68bf89cad44d386192cbed201f35b241",
"tags": [
"v2.2.3"
],
"timestamp": "20190930190921"
},
"number": "v2.2.3"
}
]
},
{
"affected_range": "\u003cv2.2.3",
"affected_versions": "All versions before 2.2.3",
"cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2023-07-06",
"description": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector.",
"fixed_versions": [
"v2.2.3"
],
"identifier": "CVE-2021-4235",
"identifiers": [
"CVE-2021-4235"
],
"not_impacted": "",
"package_slug": "go/gopkg.in/yaml.v3",
"pubdate": "2022-12-27",
"solution": "Upgrade to version 2.2.3 or above.",
"title": "Uncontrolled Resource Consumption",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-4235",
"https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241",
"https://pkg.go.dev/vuln/GO-2021-0061",
"https://github.com/go-yaml/yaml/pull/375"
],
"uuid": "8c184f3f-cefd-45fe-af20-94a387e732fb",
"versions": [
{
"commit": {
"sha": "bb4e33bf68bf89cad44d386192cbed201f35b241",
"tags": [
"v2.2.3"
],
"timestamp": "20190930190921"
},
"number": "v2.2.3"
}
]
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:yaml_project:yaml:*:*:*:*:*:go:*:*",
"cpe_name": [],
"versionEndExcluding": "2.2.3",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "security@golang.org",
"ID": "CVE-2021-4235"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Due to unbounded alias chasing, a maliciously crafted YAML file can cause the system to consume significant system resources. If parsing user input, this may be used as a denial of service vector."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/go-yaml/yaml/commit/bb4e33bf68bf89cad44d386192cbed201f35b241"
},
{
"name": "https://pkg.go.dev/vuln/GO-2021-0061",
"refsource": "MISC",
"tags": [
"Third Party Advisory"
],
"url": "https://pkg.go.dev/vuln/GO-2021-0061"
},
{
"name": "https://github.com/go-yaml/yaml/pull/375",
"refsource": "MISC",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/go-yaml/yaml/pull/375"
},
{
"name": "https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html",
"refsource": "MISC",
"tags": [],
"url": "https://lists.debian.org/debian-lts-announce/2023/07/msg00001.html"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.8,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-07-06T00:15Z",
"publishedDate": "2022-12-27T22:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…