CVE-2022-30535
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 · uneditedIn versions 2.x before 2.3.0 and all versions of 1.x, An attacker authorized to create or update ingress objects can obtain the secrets available to the NGINX Ingress Controller. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
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 · high confidenceThe NGINX Ingress Controller versions 1.x and 2.x before 2.3.0 contains an authorization flaw where users with permissions to create or update ingress objects can access secrets available to the ingress controller, enabling privilege escalation beyond their intended permissions.
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.0.0, < 2.3.0CVSS 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 if NGINX Ingress Controller is deployedRun 'kubectl get deployments -A | grep -i nginx' or 'kubectl get pods -A | grep -i ingress' to find NGINX Ingress Controller pods or deployments in the clusterAffected if NGINX Ingress Controller is present in the cluster
-
Determine the installed NGINX Ingress Controller versionRun 'kubectl get deployment -n <ingress-namespace> <ingress-controller-deployment> -o jsonpath={.spec.template.spec.containers[0].image}' to get the image and version, or check the Helm chart version if deployed via HelmAffected if The version is >= 1.0.0 and < 2.3.0
-
Check RBAC permissions for ingress object creation or updatesRun 'kubectl get clusterrolebinding -o yaml | grep -i ingress' or 'kubectl auth can-i create ingresses --as=<user>' to identify which users or service accounts have permissions to create or update Ingress resourcesAffected if Users or service accounts other than cluster-admin have ingress create/update permissions
-
Verify if ingress objects with secret references existRun 'kubectl get ingress -A -o jsonpath={range .items[*]}{.metadata.namespace}{.metadata.name}{.spec.tls}{.spec.rules}{end}' to check for Ingress resources that reference TLS secrets or use backend services that may access secretsAffected if Ingress resources exist that could potentially access secrets in namespaces accessible to the ingress controller
A user is affected if NGINX Ingress Controller version is >= 1.0.0 and < 2.3.0 AND non-admin users have permissions to create or update Ingress objects in the cluster.
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 · scoped2.3.0
Upgrade NGINX Ingress Controller to version 2.3.0 or later for 2.x deployments, or apply vendor patches for 1.x versions. Review existing RBAC policies to limit ingress object permissions to only necessary users.
Nginx Ingress Controller 2.3.0 or later (or the latest stable 2.x release)
- 1. Review the Nginx Ingress Controller upgrade documentation for your deployment method (Helm, YAML manifests, etc.)
- 2. Create a backup of your current Nginx Ingress Controller configuration and any custom resources
- 3. If using Helm, update the Helm chart repository: helm repo update
- 4. Upgrade Nginx Ingress Controller to version 2.3.0 or later. For Helm: helm upgrade <release-name> nginx-stable/nginx-ingress --version 2.3.0 or later
- 5. For YAML manifests, apply the new manifests from the 2.3.0 release
- 6. Verify the upgrade was successful by checking the controller pod is running and there are no errors in the logs
- 7. Confirm the ingress controller can still route traffic correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation4.0 h
- Testing4.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 $3,968.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-30535 — 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-2022-30535 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