[ 
https://issues.apache.org/jira/browse/CASSANDRA-18150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17727385#comment-17727385
 ] 

Arnout Engelen commented on CASSANDRA-18150:
--------------------------------------------

The change in 
[https://github.com/apache/cassandra/commit/e7f55ab8c3bd6bac4c87354afec231d7237c35b8]
 might not be effective: it seems that, confusingly, while the 
'CustomConstructor' class extends the 'SafeConstructor' one, not every 'Custom' 
constructor is actually necessarily 'Safe' :(. Should we reopen this issue or 
create a new one?

> 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.29, 3.11.15, 4.0.8, 4.1.1, 5.0
>
>
> 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]

Reply via email to