]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/news/version_3.20160506.mdwn
Announce 3.20160506
[git.ikiwiki.info.git] / doc / news / version_3.20160506.mdwn
1 News for ikiwiki 3.20160506:
3    To mitigate [[!cve CVE-2016-3714]] and similar ImageMagick security vulnerabilities,
4    the `[[!img]]` directive is now restricted to these common web formats by
5    default:
6    * JPEG (`.jpg`, `.jpeg`)
7    * PNG (`.png`)
8    * GIF (`.gif`)
9    * SVG (`.svg`)
10    (In particular, by default resizing PDF files is no longer allowed.)
11    Additionally, resized SVG files are displayed in the browser as SVG
12    instead of being converted to PNG.
13    If all users who can attach images are fully trusted, this restriction
14    can be removed with the new img\_allowed\_formats setup option.
15    See [[ikiwiki/directive/img]] for more details.
17 ikiwiki 3.20160506 released with [[!toggle text="these changes"]]
18 [[!toggleable text="""
19  * [ [[Simon McVittie|smcv]] ]
20    * HTML-escape error messages, in one case avoiding potential cross-site
21      scripting (OVE-20160505-0012)
22    * Mitigate ImageMagick vulnerabilities such as CVE-2016-3714:
23      - img: force common Web formats to be interpreted according to extension,
24        so that "allowed\_attachments: '*.jpg'" does what one might expect
25      - img: restrict to JPEG, PNG and GIF images by default, again mitigating
26        CVE-2016-3714 and similar vulnerabilities
27      - img: check that the magic number matches what we would expect from
28        the extension before giving common formats to ImageMagick
29    * d/control: use https for Homepage
30    * d/control: add Vcs-Browser
31  * [ [[Joey Hess|joey]] ]
32    * img: Add back support for SVG images, bypassing ImageMagick and
33      simply passing the SVG through to the browser, which is supported by all
34      commonly used browsers these days.
35      SVG scaling by img directives has subtly changed; where before
36      size=wxh would preserve aspect ratio, this cannot be done when passing
37      them through and so specifying both a width and height can change
38      the SVG's aspect ratio.
39    * loginselector: When only openid and emailauth are enabled, but
40      passwordauth is not, avoid showing a "Other" box which opens an
41      empty form.
42  * [ [[Amitai Schlair|schmonz]] ]
43    * mdwn: Process .md like .mdwn, but disallow web creation.
44  * [ Florian Wagner ]
45    * git: Correctly handle filenames starting with a dash in add/rm/mv."""]]