CVE-2017-18026
Redmine before 3.2.9, 3.3.x before 3.3.6, and 3.4.x before 3.4.4 does not block the --config and --debugger flags to the Mercurial hg program, which allows remote attackers to execute arbitrary commands (through the Mercurial adapter) via vectors involving a branch whose name begins with a --config= or --debugger= substring, a related issue to CVE-2017-17536.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | redmine | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | redmine | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | redmine | Fix pending | UBUNTU-CVE-2017-18026 | |
| Ubuntu 14.04 | redmine | Fix pending | ||
| Debian 14 | redmine | Fixed | 3.4.4-1 | DEBIAN-CVE-2017-18026 |
| Debian 13 | redmine | Fixed | 3.4.4-1 | DEBIAN-CVE-2017-18026 |
| Debian 12 | redmine | Fixed | 3.4.4-1 | DEBIAN-CVE-2017-18026 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4191 (vendor-advisory)
References
- https://www.redmine.org/issues/27516
- https://github.com/redmine/redmine/commit/58ed8655136ff2fe5ff7796859bf6a399c76c678
- https://www.debian.org/security/2018/dsa-4191
- https://www.redmine.org/projects/redmine/wiki/Security_Advisories
- https://github.com/redmine/redmine/commit/ca87bf766cdc70179cb2dce03015d78ec9c13ebd
- https://github.com/redmine/redmine/commit/9d797400eaec5f9fa7ba9507c82d9c18cb91d02e
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.