CVE-2017-5641
Apache Flex BlazeDS unsafe deserialization
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2017-5641- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2017-5641- Updated
- 2026-11-02
EUVDEUVD-2022-5535 No score
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.
- Record
EUVD-2022-5535- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w8v7-prhw-xjpw
9.8
Apache Flex BlazeDS unsafe deserialization
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.
- Record
GHSA-w8v7-prhw-xjpw- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
OSVGHSA-w8v7-prhw-xjpw
9.8
Apache Flex BlazeDS unsafe deserialization
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.
- Record
GHSA-w8v7-prhw-xjpw- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-502
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.flex.blazeds:flex-messaging-coreMaven |
through 4.7.2 | 4.7.3 |
org.apache.flex.blazeds:flex-messaging-remotingMaven |
through 4.7.2 | 4.7.3 |
org.apache.flex.blazeds:flex-messaging-coreMaven |
before 4.7.3, plus listed versions 4.7.04.7.14.7.2 |
4.7.3 |
org.apache.flex.blazeds:flex-messaging-remotingMaven |
before 4.7.3, plus listed versions 4.7.04.7.14.7.2 |
4.7.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2017-5641 is a critical vulnerability (CVSS 9.8) in Apache Flex Blazeds, published December 28, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 20.7%, the 97th percentile. Fixed in org.apache.flex.blazeds:flex-messaging-core 4.7.3.
References
kb.cert.org/vuls/id/307983
securityfocus.com/bid/97383
securitytracker.com/id/1038273
mail-archives.apache.org/mod_mbox/flex-dev/201703.mbox/%3C6B86C8D0-6E36-48F5-AC81-4AB3978F6746%40c-ware.de%3E
issues.apache.org/jira/browse/FLEX-35290
support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03823en_us
Show 10 moreShow less
zerodayinitiative.com/advisories/ZDI-22-507
zerodayinitiative.com/advisories/ZDI-22-506
nvd.nist.gov/vuln/detail/CVE-2017-5641
mail-archives.apache.org/mod_mbox/flex-dev/201703.mbox/%[email protected]%3E
web.archive.org/web/20170920093830/http://www.securitytracker.com/id/1038273
web.archive.org/web/20210124021605/http://www.securityfocus.com/bid/97383
github.com/apache/flex-blazeds/commit/11b0aa132d9a43bf81fa12654ff227ff247b4627
github.com/apache/flex-blazeds/commit/f861f0993c35e664906609cad275e45a71e2aaf1
github.com/advisories/GHSA-w8v7-prhw-xjpw
github.com/apache/flex-blazeds