CVE-2021-30492
Lack of Input Validation in zendesk_api_client_php for Zendesk Subdomain
Also known as GHSA-q348-f93x-9gx4
Mitigation
- Upgrade zendesk/zendesk_api_client_php to 2.2.11 or later.
Who should check
- Projects that depend on Packagist package zendesk/zendesk_api_client_php (< 2.2.11)
Vulnerability facts
- Affected
- zendesk/zendesk_api_client_php < 2.2.11
- Fixed in
- 2.2.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- CWE
- CWE-20, CWE-918
- Modified
Description
### Impact Lack of input validation of the Zendesk subdomain could expose users of the library to Server Side Request Forgery (SSRF). ### Resolution Validate the provided Zendesk subdomain to be a valid subdomain in: * getAuthUrl * getAccessToken
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist zendesk/zendesk_api_client_php | < 2.2.11 | 2.2.11 | osv |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-30492. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-30492.md Affected: zendesk/zendesk_api_client_php < 2.2.11 Fixed in: 2.2.11 Steps: 1. Search this machine and project for zendesk/zendesk_api_client_php (Packagist): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2021-30492 being exploited?
There is no confirmed exploitation: CVE-2021-30492 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2021-30492?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2021-30492?
zendesk/zendesk_api_client_php < 2.2.11.
Is there a fix for CVE-2021-30492?
Yes. Fixed in 2.2.11. Upgrade zendesk/zendesk_api_client_php to 2.2.11 or later.
How do I check if I'm affected by CVE-2021-30492?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.