CVE-2021-3557
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA flaw was found in argocd. Any unprivileged user is able to deploy argocd in their namespace and with the created ServiceAccount argocd-argocd-server, the unprivileged user is able to read all resources of the cluster including all secrets which might enable privilege escalations. The highest threat from this vulnerability is to data confidentiality.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceIn Argo CD, any unprivileged user can deploy Argo CD in their own namespace, which creates a ServiceAccount named argocd-argocd-server. This ServiceAccount is granted cluster-wide read permissions, allowing it to access all resources including secrets across the cluster, leading to data confidentiality breach and potential privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 1.1< 1.1.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed Argo CD versionQuery the Argo CD operator or application version in the cluster. On OpenShift, check the GitOps operator version. For vanilla Argo CD, check the namespace where Argo CD is installed for the deployment or operator version.Affected if The installed version is Redhat Openshift Gitops 1.1 or Argoproj Argo CD versions prior to 1.1.1
-
Find argocd-argocd-server ServiceAccountsList all ServiceAccounts named argocd-argocd-server across all namespaces in the cluster using 'kubectl get serviceaccounts argocd-argocd-server --all-namespaces' or the equivalent for your orchestration platform.Affected if Any argocd-argocd-argocd-server ServiceAccount exists outside the designated Argo CD system namespace
-
Check cluster role bindings for argocd-argocd-serverInspect ClusterRoleBindings or RBAC configurations that associate cluster-wide permissions to any argocd-argocd-server ServiceAccount. Look for ClusterRoleBindings referencing this ServiceAccount as a subject.Affected if The argocd-argocd-server ServiceAccount is bound to a ClusterRole that grants read access to resources across all namespaces, including secrets
-
Identify user-deployed Argo CD instancesReview namespaces where Argo CD has been installed by checking for Argo CD deployments, operators, or custom resources that were created by non-privileged users outside the official Argo CD management namespace.Affected if Argo CD instances exist in namespaces created by unprivileged users, and those instances use the default argocd-argocd-server ServiceAccount with elevated permissions
Your environment is affected if any argocd-argocd-server ServiceAccount has cluster-wide read permissions through ClusterRoleBindings, particularly in namespaces where unprivileged users deployed their own Argo CD instances.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.1.1
Implement RBAC policies to prevent unprivileged users from deploying Argo CD with elevated ServiceAccount permissions, or configure Argo CD to use a restricted ServiceAccount with namespace-scoped permissions only.
Argo CD >= 1.1.1; OpenShift GitOps operator version containing Argo CD 1.1.1 or later
- Identify the current version of Argo CD or OpenShift GitOps installed in the cluster
- For Argo CD (upstream): Upgrade to version 1.1.1 or later which contains the fix for CVE-2021-3557
- For OpenShift GitOps: Upgrade the OpenShift GitOps operator to a version that includes the fixed Argo CD (version 1.1.1 or later)
- In OpenShift, this can be done via the OperatorHub UI or using oc CLI: oc get packagemanifests gitops -o jsonpath='{.status.channels[*].name}' to check available channels
- Apply the upgrade through the Operator Lifecycle Manager (OLM) by updating the Subscription for the gitops-operator
- After upgrade, verify the new version is running: oc get argocd -n argocd to confirm deployment
- Review and restrict ServiceAccount permissions as needed to follow least-privilege principles
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,600.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2021-3557 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2021-3557 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data