CVE-2017-5641 · apache
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 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.
Published 2017-12-28, last changed 2026-06-17. Weakness: CWE-502.
How to fix
Upgrade to a fixed version: org.apache.flex.blazeds:flex-messaging-core 4.7.3 (Maven); org.apache.flex.blazeds:flex-messaging-remoting 4.7.3 (Maven). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in apache/flex-blazeds by 11b0aa132d, f861f0993c. Functions changed by the fix: MessageBroker, getConfigurationParser, setupConfigurationPathAndResolver, verifyMinimumJavaVersion, createValidators, validators, defaultValidator, SerializationContext, getDeserializerClass, setDeserializerClass, getSerializerClass, setSerializerClass. Regression tests: core/src/test/java/flex/messaging/io/amf/validators/AmfDeserializationValidatorTest.java, core/src/test/java/flex/messaging/io/amfx/AmfxSerializationTest.java, remoting/src/test/java/flex/messaging/io/amf/client/AMFConnectionIT.java, remoting/src/test/java/flex/messaging/io/amf/client/AMFDataTypeIT.java. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-12-28 | Published |
| 2022-05-13 | Package advisory GHSA-w8v7-prhw-xjpw |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 20.7% |
| 2026-12-01 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-w8v7-prhw-xjpw | org.apache.flex.blazeds:flex-messaging-core (Maven) | 4.7.3 |
| GHSA-w8v7-prhw-xjpw | org.apache.flex.blazeds:flex-messaging-remoting (Maven) | 4.7.3 |
Also known as: GHSA-w8v7-prhw-xjpw
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-133005 | 2026-12-03 | 8.8 | Apache Camel: Camel-Redis RedisAggregationRepository deserializes Redis values with Redisson's default Kryo5Codec without a class filter |
| CVE-2026-122029 | 2026-12-03 | 8.1 | Apache Camel: Camel-Hazelcast hazelcast-seda consumer unmarshals a DefaultExchangeHolder without the transferExchange gate |
| CVE-2026-121883 | 2026-12-03 | 8.1 | Apache Camel: Camel-Netty unmarshalls DefaultExchangeHolder without the transferExchange gate when using ObjectDecoder |
| CVE-2026-134135 | 2026-12-01 | 8.8 | Apache TinkerPop: gremlin-server: Unsafe Deserialization in GraphSON and GraphBinary |
| CVE-2026-120502 | 2026-11-24 | 7.5 | Apache Jena: Excess memory allocation from malicious Thrift data |
| CVE-2026-129448 KEV | 2026-11-17 | 9.8 | Apache Roller: Unauthenticated deserialization in the XML-RPC endpoint (releases before 6.1.5) |
| CVE-2026-71395 | 2026-11-11 | 9.8 | Apache XML Graphics FOP: CWE-502 unsafe deserialization in hyphenation loading |
| CVE-2026-123374 | 2026-11-11 | 9.8 | Apache Roller: Deserialization of untrusted data in weblog update ping responses |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-5641, or call /api/v1/vulnerabilities/CVE-2017-5641. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.