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

ASF subversion and git services commented on LUCENE-9094:
---------------------------------------------------------

Commit dc35e5752bcdbf85ad52b958723db008502061a6 in lucene-solr's branch 
refs/heads/gradle-master from Robert Muir
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=dc35e57 ]

LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis


> Ban ObjectInputStream and ObjectOutputStream in forbidden-apis
> --------------------------------------------------------------
>
>                 Key: LUCENE-9094
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9094
>             Project: Lucene - Core
>          Issue Type: Task
>          Components: general/build
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>            Priority: Major
>             Fix For: 8.5
>
>         Attachments: LUCENE-9094.patch
>
>
> suggested build failure message:
> {quote}
> [forbidden-apis] Forbidden class/interface use: java.io.ObjectInputStream 
> [Java deserialization is unsafe when the data is untrusted. The java 
> developer is powerless: no checks or casts help, exploitation can happen in 
> places such as clinit or finalize!]
> {quote}
> I will whitelist existing places doing this for now.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to