You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/07 22:25:12 UTC

[jira] [Updated] (OAK-2107) Remove the MongoGridFSBlobStore implementation

     [ https://issues.apache.org/jira/browse/OAK-2107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated OAK-2107:
----------------------------------
    Fix Version/s:     (was: 1.2)

> Remove the MongoGridFSBlobStore implementation
> ----------------------------------------------
>
>                 Key: OAK-2107
>                 URL: https://issues.apache.org/jira/browse/OAK-2107
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.1.3
>
>
> The MongoGridFSBlobStore implementation relies on using MD5 as the content hash, which is dangerous. This isn't a problem of GridFS itself, but of MongoGridFSBlobStore.
> For security reasons, we would need to use SHA-2 (or at least SHA-1). It doesn't look like it would be easy to change MongoGridFSBlobStore, because "md5" is used internally by GridFS (but not actually as the content hash).
> So either we make a bigger change to MongoGridFSBlobStore, or we remove it. I think we should remove it, as we have a good alternative (the MongoBlobStore, which uses SHA-256, but not GridFS).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)