CVE-2023-36639
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 use of externally-controlled format string in Fortinet FortiProxy versions 7.2.0 through 7.2.4, 7.0.0 through 7.0.10, FortiOS versions 7.4.0, 7.2.0 through 7.2.4, 7.0.0 through 7.0.11, 6.4.0 through 6.4.12, 6.2.0 through 6.2.15, 6.0.0 through 6.0.17, FortiPAM versions 1.0.0 through 1.0.3 allows attacker to execute unauthorized code or commands via specially crafted API requests.
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 confidenceThis is a format string injection vulnerability in Fortinet FortiProxy, FortiOS, and FortiPAM where specially crafted API requests containing user-controlled format specifiers are processed without proper sanitization. An attacker can exploit this to read/write arbitrary memory locations and potentially achieve remote code execution.
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>= 7.0.0, <= 7.0.10>= 7.2.0, <= 7.2.4>= 6.0.0, <= 6.0.17>= 6.2.0, <= 6.2.15>= 6.4.0, <= 6.4.12>= 7.0.0, <= 7.0.11>= 7.2.0, <= 7.2.4= 7.4.0>= 1.0.0, <= 1.0.3= 1.1.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
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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 the Fortinet productDetermine which Fortinet product is running in your environment: FortiProxy, FortiOS, or FortiPAM. This can be done via the web UI dashboard, CLI command 'get system status', or by checking the support ticket/asset inventory.Affected if The product is FortiProxy, FortiOS, or FortiPAM
-
Determine the installed versionRun the CLI command 'get system status' or check the web UI under Dashboard > System Information > Firmware Version. Compare the version number against the affected ranges provided: FortiProxy 7.0.0-7.0.10, 7.2.0-7.2.4; FortiOS 6.0.0-6.0.17, 6.2.0-6.2.15, 6.4.0-6.4.12, 7.0.0-7.0.11, 7.2.0-7.2.4, 7.4.0; FortiPAM 1.0.0-1.0.3, 1.1.0.Affected if The installed version falls within any of the listed affected version ranges
-
Check if REST API is enabledIn FortiOS/FortiProxy, run 'get system global' and look for 'set rest-api-port' or check via web UI under System > Administration > Administrators to see if REST API access is configured. In FortiPAM, check under API Users or REST API settings.Affected if The REST API interface is enabled and accessible (even on a non-default port)
-
Verify API access exposureCheck the firewall policy and interface settings to determine if the REST API is exposed to untrusted networks. Use 'show system interface' and review firewall policies with 'get firewall policy' to identify if API port (default 443) is accessible from WAN or untrusted segments.Affected if The API is reachable from outside the trusted management network or from untrusted interfaces
You are affected if your FortiProxy, FortiOS, or FortiPAM version matches one of the affected ranges AND the REST API feature is enabled and accessible, regardless of exposure scope.
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 · scopedApply the vendor-released patches to upgrade affected FortiProxy, FortiOS, and FortiPAM installations to patched versions. If immediate patching is not possible, restrict API access through network segmentation or a WAF as a temporary compensating control.
FortiProxy: 7.0.11+ or 7.2.5+ | FortiOS: 6.0.18+, 6.2.16+, 6.4.13+, 7.0.12+, 7.2.5+, or 7.4.1+ | FortiPAM: 1.1.1+
- 1. Identify the current Fortinet product (FortiProxy, FortiOS, or FortiPAM) and its exact version using the CLI command 'get system status' or through the web UI dashboard.
- 2. For FortiProxy: If running 7.0.0-7.0.10, upgrade to 7.0.11 or later. If running 7.2.0-7.2.4, upgrade to 7.2.5 or later.
- 3. For FortiOS: If running 6.0.x, upgrade to 6.0.18 or later. If running 6.2.x, upgrade to 6.2.16 or later. If running 6.4.x, upgrade to 6.4.13 or later. If running 7.0.x, upgrade to 7.0.12 or later. If running 7.2.x, upgrade to 7.2.5 or later. If running 7.4.0, upgrade to 7.4.1 or later.
- 4. For FortiPAM: If running 1.0.0-1.0.3 or 1.1.0, upgrade to 1.1.1 or later.
- 5. Download the firmware from the Fortinet Support Portal (https://support.fortinet.com) and upload it via the FortiGate/FortiProxy web UI under System > Firmware, or use the CLI command 'execute firmware upgrade' with the firmware file path.
- 6. After upgrade, verify the new version is installed using 'get system status' and confirm the CVE is resolved in the FortiGuard release notes.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.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 $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-36639 — 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-2023-36639 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