KeygraphLabs · CVE MCP

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.

CVSS
9.8
critical, from NVD
EPSS
20.7%
percentile 97.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-28Published
2022-05-13Package advisory GHSA-w8v7-prhw-xjpw
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 20.7%
2026-12-01Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-w8v7-prhw-xjpworg.apache.flex.blazeds:flex-messaging-core (Maven)4.7.3
GHSA-w8v7-prhw-xjpworg.apache.flex.blazeds:flex-messaging-remoting (Maven)4.7.3

Also known as: GHSA-w8v7-prhw-xjpw

Related

CVEPublishedCVSSSummary
CVE-2026-1330052026-12-038.8Apache Camel: Camel-Redis RedisAggregationRepository deserializes Redis values with Redisson's default Kryo5Codec without a class filter
CVE-2026-1220292026-12-038.1Apache Camel: Camel-Hazelcast hazelcast-seda consumer unmarshals a DefaultExchangeHolder without the transferExchange gate
CVE-2026-1218832026-12-038.1Apache Camel: Camel-Netty unmarshalls DefaultExchangeHolder without the transferExchange gate when using ObjectDecoder
CVE-2026-1341352026-12-018.8Apache TinkerPop: gremlin-server: Unsafe Deserialization in GraphSON and GraphBinary
CVE-2026-1205022026-11-247.5Apache Jena: Excess memory allocation from malicious Thrift data
CVE-2026-129448 KEV2026-11-179.8Apache Roller: Unauthenticated deserialization in the XML-RPC endpoint (releases before 6.1.5)
CVE-2026-713952026-11-119.8Apache XML Graphics FOP: CWE-502 unsafe deserialization in hyphenation loading
CVE-2026-1233742026-11-119.8Apache 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.

NVD · CVE.org