Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-4238

28
FAUCET Score

CVE-2021-4238 describes a critical vulnerability in the goutils_project goutils library where the RandomAlphaNumeric and CryptoRandomAlphaNumeric functions generate strings with significantly reduced entropy due to always including at least one digit. This flaw, rated 9.1 Critical (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H), allows unauthenticated attackers to remotely compromise confidentiality and availability with low attack complexity. While there is no known active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered some community discussion and media coverage, indicating awareness within the cybersecurity community.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.1.1CPE matchmatch criteria
cpe:2.3:a:goutils_project:goutils:*:*:*:*:*:go:*:*

CVSS Data

CVSS version used by this source: 3.1

9.1CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
NONE
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.32%
Probability of exploitation in next 30 days
EPSS Percentile
67.9%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0132 is in the 54th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (69)

github_advisorypatch availablevia nvd_reference
View patch
gopatch availablevia ghsa
Product: github.com/Masterminds/goutilsFixed in: 1.1.1
microsoftpatch availablevia msrc
Product: 19344-17084Fixed in: 2.7.3-3
microsoftpatch availablevia msrc
Product: azl3 influxdb 2.7.5-5 on Azure Linux 3.0Fixed in: 2.7.3-3
microsoftpatch availablevia msrc
Product: azl3 influxdb 2.7.3-3 on Azure Linux 3.0Fixed in: 2.7.3-3
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 ARMFixed in: 2.7.3-3
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 x64Fixed in: 2.7.3-3
microsoftpatch availablevia msrc
Product: 19086-17084Fixed in: 2.7.3-3
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-image-customization-controller-rhel8:v4.11.0-202301252336.p0.ge0e3979.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-machine-config-operator:v4.11.0-202302071115.p0.gc101063.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-installer:v4.11.0-202302130454.p0.g59d1196.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/dpu-network-rhel8-operator:v4.11.0-202302282354.p0.g7183b08.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-kubernetes-nmstate-handler-rhel8:v4.11.0-202303151654.p0.g4695e71.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: openshift4/ose-machine-config-operator:v4.12.0-202301262025.p0.ge3dc943.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: openshift4/ose-installer:v4.12.0-202302080355.p0.gb8d2457.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: openshift4/dpu-network-rhel8-operator:v4.12.0-202302111028.p0.gb6124a7.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: openshift4/ose-kubernetes-nmstate-handler-rhel8:v4.12.0-202303081941.p0.gc56075a.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.13Fixed in: openshift4/ose-image-customization-controller-rhel8:v4.13.0-202304260928.p0.g8765166.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.13Fixed in: openshift4/ose-installer:v4.13.0-202305091542.p0.g44db7b2.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.13Fixed in: openshift4/ose-machine-config-operator:v4.13.0-202304251516.p0.g70aa0a5.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.9Fixed in: openshift4/ose-cluster-network-operator:v4.9.0-202301301454.p0.gbb98961.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.5Fixed in: openshift-gitops-1/applicationset-rhel8:v1.5.10-6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.5Fixed in: openshift-gitops-1/argocd-rhel8:v1.5.10-6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.5Fixed in: openshift-gitops-1/dex-rhel8:v1.5.10-6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.5Fixed in: openshift-gitops-1/gitops-rhel8-operator:v1.5.10-6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.5Fixed in: openshift-gitops-1/kam-delivery-rhel8:v1.5.10-6
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.6Fixed in: openshift-gitops-1/argocd-rhel8:v1.6.5-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.6Fixed in: openshift-gitops-1/dex-rhel8:v1.6.5-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.6Fixed in: openshift-gitops-1/gitops-rhel8-operator:v1.6.5-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.6Fixed in: openshift-gitops-1/kam-delivery-rhel8:v1.6.5-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.7Fixed in: openshift-gitops-1/argocd-rhel8:v1.7.2-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.7Fixed in: openshift-gitops-1/dex-rhel8:v1.7.2-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.7Fixed in: openshift-gitops-1/gitops-rhel8-operator:v1.7.2-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift GitOps 1.7Fixed in: openshift-gitops-1/kam-delivery-rhel8:v1.7.2-5
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Service Mesh 2.3 for RHEL 8Fixed in: openshift-service-mesh/istio-rhel8-operator:2.3.1-10
View patch
redhatpatch availablevia redhat_api
Product: RHODF-4.12-RHEL-8Fixed in: odf4/mcg-rhel8-operator:v4.12.1-4
View patch
redhatpatch availablevia redhat_api
Product: RHODF-4.13-RHEL-9Fixed in: odf4/mcg-rhel9-operator:v4.13.0-41
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.12Fixed in: openshift4/ose-image-customization-controller-rhel8:v4.12.0-202301171655.p0.g27777d0.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: OpenShift Service Mesh 2.1Fixed in: servicemesh-0:2.1.6-1.el8
View patch
redhatpatch availablevia redhat_api
Product: OpenShift Service Mesh 2.1Fixed in: servicemesh-operator-0:2.1.6-1.el8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.10Fixed in: openshift4/ose-cluster-network-operator:v4.10.0-202301310115.p0.gdc0a59a.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.10Fixed in: openshift4/ose-installer:v4.10.0-202302161028.p0.g8862860.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.10Fixed in: openshift4/ose-machine-config-operator:v4.10.0-202303032215.p0.ga21b2b8.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.10Fixed in: openshift4/ose-kubernetes-nmstate-handler-rhel8:v4.10.0-202303162241.p0.g68b1665.assembly.stream
View patch
redhatpatch availablevia redhat_api
Product: Red Hat OpenShift Container Platform 4.11Fixed in: openshift4/ose-cluster-baremetal-operator-rhel8:v4.11.0-202301191245.p0.g4ffdd2f.assembly.stream
View patch
redhatvendor investigatingvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/ingress-rhel8-operator
redhatvendor investigatingvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/client-kn-rhel8
redhatvendor investigatingvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1/serving-queue-rhel8
redhatvendor investigatingvia redhat_api
Product: OpenShift ServerlessFixed in: openshift-serverless-1-knative-client-plugin-event-sender-rhel8-container
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-metering-helm-container-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-ptp
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-ptp-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ztp-site-generate-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift-compliance-openscap-container
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-agent-rhel8
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform Assisted Installer 1Fixed in: rhai-tech-preview/assisted-installer-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Container Storage 4Fixed in: ocs4/mcg-rhel8-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odf-multicluster-rhel9-operator
redhatno patchvia redhat_api
Product: Red Hat Openshift Data Foundation 4Fixed in: odf4/odf-rhel9-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Dev SpacesFixed in: devspaces/traefik-rhel8
redhatno patchvia redhat_api
Product: Red Hat Openshift Sandboxed ContainersFixed in: openshift-sandboxed-containers/osc-rhel9-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Virtualization 4Fixed in: container-native-virtualization/cluster-network-addons-operator
redhatno patchvia redhat_api
Product: Red Hat OpenShift Virtualization 4Fixed in: container-native-virtualization/kubernetes-nmstate-handler-rhel8
redhatno patchvia redhat_api
Product: Red Hat Quay 3Fixed in: quay/quay-bridge-operator-rhel8
redhatno patchvia redhat_api
Product: OpenShift Developer Tools and ServicesFixed in: jenkins-operator-container
redhatno patchvia redhat_api
Product: OpenShift Developer Tools and ServicesFixed in: helm
redhatno patchvia redhat_api
Product: Red Hat 3scale API Management Platform 2Fixed in: 3scale-operator-container
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-alibaba-cloud-controller-manager-rhel9
redhatno patchvia redhat_api
Product: Red Hat OpenShift Container Platform 4Fixed in: openshift4/ose-metering-ansible-operator

Vendor Advisories (4)

microsoft2024-Jun/CVE-2021-4238

CVE-2021-4238

Jun 11, 2024
redhatCVE-2021-4238Important

goutils: RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be

Dec 27, 2022
microsoft2022-Dec/CVE-2021-4238Critical

Insufficient randomness in github.com/Masterminds/goutils

Dec 13, 2022
goGHSA-xg2h-wx96-xgxrlow

RandomAlphaNumeric and CryptoRandomAlphaNumeric are not as random as they should be

May 21, 2021

References

github.com / Masterminds/goutils/commit/869801f20f9f1e7ecdbdb6422049d8241270d5e1
PatchThird Party Advisory
pkg.go.dev / vuln/GO-2022-0411
ExploitPatchThird Party Advisory