gsd-2021-4238
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-4238", "id": "GSD-2021-4238", "references": [ "https://www.suse.com/security/cve/CVE-2021-4238.html", "https://access.redhat.com/errata/RHSA-2023:0449", "https://access.redhat.com/errata/RHSA-2023:0540", "https://access.redhat.com/errata/RHSA-2023:0542", "https://access.redhat.com/errata/RHSA-2023:0561", "https://access.redhat.com/errata/RHSA-2023:0565", "https://access.redhat.com/errata/RHSA-2023:0569", "https://access.redhat.com/errata/RHSA-2023:0574", "https://access.redhat.com/errata/RHSA-2023:0651", "https://access.redhat.com/errata/RHSA-2023:0728", "https://access.redhat.com/errata/RHSA-2023:0770", "https://access.redhat.com/errata/RHSA-2023:0774", "https://access.redhat.com/errata/RHSA-2023:0802", "https://access.redhat.com/errata/RHSA-2023:0803", "https://access.redhat.com/errata/RHSA-2023:0804", "https://access.redhat.com/errata/RHSA-2023:0899", "https://access.redhat.com/errata/RHSA-2023:1159", "https://access.redhat.com/errata/RHSA-2023:1170" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2021-4238" ], "details": "Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.", "id": "GSD-2021-4238", "modified": "2023-12-13T01:23:11.666872Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security@golang.org", "ID": "CVE-2021-4238", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "github.com/Masterminds/goutils", "version": { "version_data": [ { "version_affected": "\u003c", "version_name": "0", "version_value": "1.1.1" } ] } } ] }, "vendor_name": "github.com/Masterminds/goutils" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE 330: Use of Insufficiently Random Values" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1", "refsource": "MISC", "url": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1" }, { "name": "https://pkg.go.dev/vuln/GO-2022-0411", "refsource": "MISC", "url": "https://pkg.go.dev/vuln/GO-2022-0411" } ] } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv1.1.1", "affected_versions": "All versions before 1.1.1", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-12-30", "description": "Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions.", "fixed_versions": [ "v1.1.1" ], "identifier": "CVE-2021-4238", "identifiers": [ "GHSA-3839-6r69-m497", "CVE-2021-4238" ], "not_impacted": "All versions starting from 1.1.1", "package_slug": "go/github.com/Masterminds/goutils", "pubdate": "2022-12-28", "solution": "Upgrade to version 1.1.1 or above.", "title": "GoUtils\u0027s randomly-generated alphanumeric strings contain significantly less entropy than expected", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-4238", "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1", "https://pkg.go.dev/vuln/GO-2022-0411", "https://github.com/advisories/GHSA-3839-6r69-m497" ], "uuid": "dcabb26f-2d1a-4cfa-88d8-dd1176ba307f", "versions": [ { "commit": { "sha": "f1923532a168b8203bfe956d8cd3b17ebece5982", "tags": [ "v1.1.1" ], "timestamp": "20210204200653" }, "number": "v1.1.1" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:*", "cpe_name": [], "versionEndExcluding": "1.1.1", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security@golang.org", "ID": "CVE-2021-4238" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Randomly-generated alphanumeric strings contain significantly less entropy than expected. The RandomAlphaNumeric and CryptoRandomAlphaNumeric functions always return strings containing at least one digit from 0 to 9. This significantly reduces the amount of entropy in short strings generated by these functions." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-331" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1" }, { "name": "https://pkg.go.dev/vuln/GO-2022-0411", "refsource": "MISC", "tags": [ "Exploit", "Patch", "Third Party Advisory" ], "url": "https://pkg.go.dev/vuln/GO-2022-0411" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.1, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.2 } }, "lastModifiedDate": "2023-01-05T04:43Z", "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.
- 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.