CVE-2017-5641
Apache Flex BlazeDS unsafe deserialization
Also known as GHSA-w8v7-prhw-xjpw
Mitigation
- Upgrade org.apache.flex.blazeds:flex-messaging-core to 4.7.3 or later.
- Upgrade org.apache.flex.blazeds:flex-messaging-remoting to 4.7.3 or later.
Who should check
- Projects that depend on Maven package org.apache.flex.blazeds:flex-messaging-core (< 4.7.3)
- Projects that depend on Maven package org.apache.flex.blazeds:flex-messaging-remoting (< 4.7.3)
- Anyone running Apache Software Foundation Apache Flex Blaze DS before 4.7.3
Vulnerability facts
- Affected
- org.apache.flex.blazeds:flex-messaging-core < 4.7.3; org.apache.flex.blazeds:flex-messaging-remoting < 4.7.3
- Fixed in
- 4.7.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 20.75% chance of exploitation in 30 days (percentile 98, 2026-11-26)
- CWE
- CWE-502
- Modified
Description
Previous versions of Apache Flex BlazeDS (4.7.2 and earlier) did not restrict which types were allowed for AMF(X) object deserialization by default. During the deserialization process code is executed that for several known types has undesired side-effects. Other, unknown types may also exhibit such behaviors. One vector in the Java standard library exists that allows an attacker to trigger possibly further exploitable Java deserialization of untrusted data. Other known vectors in third party libraries can be used to trigger remote code execution.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.flex.blazeds:flex-messaging-core | < 4.7.3 | 4.7.3 | osv |
| Maven org.apache.flex.blazeds:flex-messaging-remoting | < 4.7.3 | 4.7.3 | osv |
| Apache Software Foundation Apache Flex Blaze DS | before 4.7.3 | — | cvelist |
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-2017-5641. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2017-5641.md Affected: org.apache.flex.blazeds:flex-messaging-core < 4.7.3; org.apache.flex.blazeds:flex-messaging-remoting < 4.7.3 Fixed in: 4.7.3 Steps: 1. Search this machine and project for org.apache.flex.blazeds:flex-messaging-core (Maven), org.apache.flex.blazeds:flex-messaging-remoting (Maven), Apache Software Foundation Apache Flex Blaze DS: 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
Patches
Other
- https://www.kb.cert.org/vuls/id/307983
- http://www.securityfocus.com/bid/97383
- http://www.securitytracker.com/id/1038273
- http://mail-archives.apache.org/mod_mbox/flex-dev/201703.mbox/%3C6B86C8D0-6E36-48F5-AC81-4AB3978F6746%40c-ware.de%3E
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03823en_us
- https://www.zerodayinitiative.com/advisories/ZDI-22-507/
- https://www.zerodayinitiative.com/advisories/ZDI-22-506/
- https://github.com/apache/flex-blazeds
- https://web.archive.org/web/20170920093830/http://www.securitytracker.com/id/1038273
- https://web.archive.org/web/20210124021605/http://www.securityfocus.com/bid/97383
- https://www.zerodayinitiative.com/advisories/ZDI-22-506
- https://www.zerodayinitiative.com/advisories/ZDI-22-507
- http://mail-archives.apache.org/mod_mbox/flex-dev/201703.mbox/%3C6B86C8D0-6E36-48F5-AC81-4AB3978F6746@c-ware.de%3E
FAQ
Is CVE-2017-5641 being exploited?
There is no confirmed exploitation: CVE-2017-5641 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 20.75% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2017-5641?
Critical: CVSS 9.8 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2017-5641?
org.apache.flex.blazeds:flex-messaging-core < 4.7.3; org.apache.flex.blazeds:flex-messaging-remoting < 4.7.3.
Is there a fix for CVE-2017-5641?
Yes. Fixed in 4.7.3. Upgrade org.apache.flex.blazeds:flex-messaging-core to 4.7.3 or later. Upgrade org.apache.flex.blazeds:flex-messaging-remoting to 4.7.3 or later.
How do I check if I'm affected by CVE-2017-5641?
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.