{"id":"MGASA-2018-0355","summary":"Updated mercurial packages fix security vulnerabilities","details":"This update provides mercurial version 4.6.2 and fixes the following\nsecurity issues:\n\nFix the mpatch_apply function in mpatch.c that incorrectly proceeds in\ncases where the fragment start is past the end of the original data\n(CVE-2018-13346).\n\nFix mpatch.c that mishandles integer addition and subtraction\n(CVE-2018-13347).\n\nFix the mpatch_decode function in mpatch.c that mishandles certain\nsituations where there should be at least 12 bytes remaining after\nthe current position in the patch data (CVE-2018-13348).\n\nRemote attackers may bypass HTTP server permissions via batch wire\nprotocol commands(CVE-2018-1000132).\n","modified":"2026-01-30T18:24:19.923009Z","published":"2018-08-31T21:11:59Z","related":["CVE-2018-1000132","CVE-2018-13346","CVE-2018-13347","CVE-2018-13348"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2018-0355.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=22895"},{"type":"REPORT","url":"https://lists.opensuse.org/opensuse-updates/2018-04/msg00021.html"},{"type":"REPORT","url":"https://lists.opensuse.org/opensuse-updates/2018-07/msg00057.html"}],"affected":[{"package":{"name":"mercurial","ecosystem":"Mageia:5","purl":"pkg:rpm/mageia/mercurial?arch=source&distro=mageia-5"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.2-1.mga5"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2018-0355.json"}},{"package":{"name":"mercurial","ecosystem":"Mageia:6","purl":"pkg:rpm/mageia/mercurial?arch=source&distro=mageia-6"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.2-1.mga6"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2018-0355.json"}}],"schema_version":"1.7.3","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}