[
https://issues.apache.org/jira/browse/CASSANDRA-18150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17677739#comment-17677739
]
Brandon Williams commented on CASSANDRA-18150:
----------------------------------------------
I decided not to mess with the one in stress because it initializes the
Constructor with a class, which SafeConstructor doesn't support, and at that
point it seemed like too much effort for...stress. Few people even use the
yaml functionality there.
That said, I see I did miss another one in JMXTool that needs to be addressed,
I'll post an updated patch.
> Prefer snakeyaml's SafeConstructor over Constructor
> ---------------------------------------------------
>
> Key: CASSANDRA-18150
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18150
> Project: Cassandra
> Issue Type: Improvement
> Components: Local/Config
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.1.x, 4.x
>
>
> CVE-2022-1471 allows RCE through the Constructor class. While this isn't a
> concern since yaml is only used for configuration, it is simple enough to
> switch to SafeConstructor and harden the server a little more.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]