Since there is no release yet in the 8.X branch and no commits are published after the disclosure, I'm not sure if the security advisory SA-CONTRIB-2016-009 also applies to the 8.X dev code and I don't have the skills to analyze the code. Is the 8.X branch exposed to the same vulnerability? Thanks!

Comments

juliencarnot created an issue. See original summary.

jbrauer’s picture

Title: exposure of 8.x branch to SA-CONTRIB-2016-009 » Port SA-CONTRIB-2016-009 to the 8.x branch
Status: Active » Patch (to be ported)

The patch will need to be reviewed and ported to bring this fix to the 8.x branch as well.

juliencarnot’s picture

I transcribed the 7.x patch changes to the 8.x code and it seems to work for me. To be reviewed.

juliencarnot’s picture

Component: Miscellaneous » Code
Status: Patch (to be ported) » Needs review
malcomio’s picture

StatusFileSize
new1.89 KB

Looks good to me, although for readability I think the $limited_types array should be split out on to multiple lines, as in the commit on the D7 branch: http://cgit.drupalcode.org/prepopulate/commit/?id=16cdb63cc3b256dd785e02...

malcomio’s picture

StatusFileSize
new1.89 KB

Revised patch following coding standards, and putting limited types into alphabetical order

juliencarnot’s picture

Status: Needs review » Reviewed & tested by the community

Works for me!

  • jbrauer committed 1dea44f on 8.x-2.x
    Issue #2682661 by malcomio, juliencarnot: Port SA-CONTRIB-2016-009 to...
jbrauer’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.