GSD-2021-38561
Vulnerability from gsd - Updated: 2023-12-13 01:23Details
golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-38561",
"id": "GSD-2021-38561",
"references": [
"https://access.redhat.com/errata/RHSA-2022:5525",
"https://access.redhat.com/errata/RHSA-2022:5556",
"https://access.redhat.com/errata/RHSA-2022:5070",
"https://access.redhat.com/errata/RHSA-2022:5908",
"https://access.redhat.com/errata/RHSA-2022:5909",
"https://access.redhat.com/errata/RHSA-2022:6051",
"https://access.redhat.com/errata/RHSA-2022:6263",
"https://access.redhat.com/errata/RHSA-2022:6287",
"https://access.redhat.com/errata/RHSA-2022:6318",
"https://access.redhat.com/errata/RHSA-2022:6346",
"https://access.redhat.com/errata/RHSA-2022:6526",
"https://access.redhat.com/errata/RHSA-2022:6537",
"https://access.redhat.com/errata/RHSA-2022:8750",
"https://www.suse.com/security/cve/CVE-2021-38561.html",
"https://access.redhat.com/errata/RHSA-2022:7399",
"https://access.redhat.com/errata/RHSA-2022:7401",
"https://access.redhat.com/errata/RHSA-2023:0245",
"https://access.redhat.com/errata/RHSA-2023:0407",
"https://access.redhat.com/errata/RHSA-2023:0408",
"https://access.redhat.com/errata/RHSA-2023:0566",
"https://access.redhat.com/errata/RHSA-2023:0652",
"https://access.redhat.com/errata/RHSA-2023:0774",
"https://access.redhat.com/errata/RHSA-2023:0890",
"https://access.redhat.com/errata/RHSA-2023:0895",
"https://ubuntu.com/security/CVE-2021-38561"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-38561"
],
"details": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.",
"id": "GSD-2021-38561",
"modified": "2023-12-13T01:23:17.680503Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-38561",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_affected": "?",
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://groups.google.com/g/golang-announce",
"refsource": "MISC",
"url": "https://groups.google.com/g/golang-announce"
},
{
"name": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"refsource": "MISC",
"url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f"
},
{
"name": "https://deps.dev/advisory/OSV/GO-2021-0113",
"refsource": "MISC",
"url": "https://deps.dev/advisory/OSV/GO-2021-0113"
},
{
"name": "https://pkg.go.dev/golang.org/x/text/language",
"refsource": "MISC",
"url": "https://pkg.go.dev/golang.org/x/text/language"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.3.7",
"affected_versions": "All versions before 0.3.7",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-125",
"CWE-937"
],
"date": "2023-01-05",
"description": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.",
"fixed_versions": [
"0.3.7"
],
"identifier": "CVE-2021-38561",
"identifiers": [
"CVE-2021-38561"
],
"not_impacted": "",
"package_slug": "go/golang.org/x/text",
"pubdate": "2022-12-26",
"solution": "Upgrade to version 0.3.7 or above.",
"title": "Out-of-bounds Read",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-38561",
"https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"https://groups.google.com/g/golang-announce",
"https://deps.dev/advisory/OSV/GO-2021-0113",
"https://pkg.go.dev/golang.org/x/text/language"
],
"uuid": "92c7bf4d-fdfe-4df6-9ae6-43dc0a51792b"
},
{
"affected_range": "\u003c0.3.7",
"affected_versions": "All versions before 0.3.7",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-125",
"CWE-937"
],
"date": "2023-01-09",
"description": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack.",
"fixed_versions": [
"0.3.7"
],
"identifier": "CVE-2021-38561",
"identifiers": [
"GHSA-ppp9-7jff-5vj2",
"CVE-2021-38561"
],
"not_impacted": "All versions starting from 0.3.7",
"package_slug": "go/golang.org/x/text/language",
"pubdate": "2022-12-26",
"solution": "Upgrade to version 0.3.7 or above.",
"title": "Out-of-bounds Read",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-38561",
"https://deps.dev/advisory/OSV/GO-2021-0113",
"https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"https://groups.google.com/g/golang-announce",
"https://pkg.go.dev/golang.org/x/text/language",
"https://github.com/advisories/GHSA-ppp9-7jff-5vj2"
],
"uuid": "b38738f0-5fbb-404f-84ce-aad527bec4b8"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:golang:text:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.3.7",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2021-38561"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-125"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
"refsource": "MISC",
"tags": [
"Mailing List",
"Patch",
"Vendor Advisory"
],
"url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f"
},
{
"name": "https://groups.google.com/g/golang-announce",
"refsource": "MISC",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://groups.google.com/g/golang-announce"
},
{
"name": "https://deps.dev/advisory/OSV/GO-2021-0113",
"refsource": "CONFIRM",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://deps.dev/advisory/OSV/GO-2021-0113"
},
{
"name": "https://pkg.go.dev/golang.org/x/text/language",
"refsource": "MISC",
"tags": [
"Product",
"Vendor Advisory"
],
"url": "https://pkg.go.dev/golang.org/x/text/language"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-01-05T04:52Z",
"publishedDate": "2022-12-26T06: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…