Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 786561 (CVE-2021-31863, CVE-2021-31864, CVE-2021-31865, CVE-2021-31866)

Summary: <www-apps/redmine-4.1.4: Multiple vulnerabilities (CVE-2021-{31863,31864,31865,31866})
Product: Gentoo Security Reporter: Sam James <sam>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: trivial CC: azamat.hackimov, m1027, proth+gentoobugs, proxy-maint, rossi.f
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/22429
Whiteboard: ~3 [noglsa]
Package list:
Runtime testing required: ---
Bug Depends on: 787533, 787539    
Bug Blocks:    

Description Sam James archtester gentoo-dev Security 2021-04-28 21:19:45 UTC
* CVE-2021-31866

Description:
"Redmine before 4.0.9 and 4.1.x before 4.1.3 allows an attacker to learn the values of internal authentication keys by observing timing differences in string comparison operations within SysController and MailHandlerController."

* CVE-2021-31865

Description:
"Redmine before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4.2.1 allows users to circumvent the allowed filename extensions of uploaded attachments."

* CVE-2021-31864

Description:
"Redmine before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4.2.1 allows attackers to bypass the add_issue_notes permission requirement by leveraging the incoming mail handler."

* CVE-2021-31863

Description::
"Insufficient input validation in the Git repository integration of Redmine before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4.2.1 allows Redmine users to read arbitrary local files accessible by the application server process."
Comment 1 Azamat H. Hackimov 2021-05-05 16:39:04 UTC
I need rails 5.2.5 and roadie-rails 2.2.0 for version bump, please fix #787533 and #787539 issues.
Comment 2 P. Roth 2021-07-10 17:08:09 UTC
While waiting for the Ruby Team to fix #787533, would upgrading to 4.1.3 first be viable? Maybe not ideal, but it's out now for 2.5 months...
Comment 3 NATTkA bot gentoo-dev 2021-07-29 17:22:39 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:30:56 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:38:53 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 17:47:02 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 18:03:00 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-07-29 18:11:18 UTC
Package list is empty or all packages have requested keywords.
Comment 9 Larry the Git Cow gentoo-dev 2021-09-28 20:51:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3cd037131f18b31af0ac8b32aa59816d35b27c

commit 9e3cd037131f18b31af0ac8b32aa59816d35b27c
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2021-09-28 10:59:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-28 20:51:43 +0000

    www-apps/redmine: remove old vulnerable version
    
    Bug: https://bugs.gentoo.org/786561
    Bug: https://bugs.gentoo.org/806842
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/22429
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apps/redmine/Manifest             |   1 -
 www-apps/redmine/redmine-4.1.2.ebuild | 231 ----------------------------------
 2 files changed, 232 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc877fbfd8ccad198fce3c2a0cdea16decdf94f

commit 2bc877fbfd8ccad198fce3c2a0cdea16decdf94f
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2021-09-28 08:44:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-28 20:51:39 +0000

    www-apps/redmine: update to 4.1.4
    
    Fixes security issues CVE-2021-31866, CVE-2021-31865, CVE-2021-31864,
    CVE-2021-31863
    
    Bug: https://bugs.gentoo.org/786561
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apps/redmine/Manifest             |   1 +
 www-apps/redmine/redmine-4.1.4.ebuild | 233 ++++++++++++++++++++++++++++++++++
 2 files changed, 234 insertions(+)
Comment 10 John Helmert III gentoo-dev Security 2021-09-29 02:14:28 UTC
Thank you!