Every CVE Search/ Get API key

CVE-2021-31866

Redmine before 4.0.9 and 4.1.x before 4.1.3 allows an attacker to learn the values of internal...

5.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.23%Up 0.6 points since Apr 28, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

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.

Record
CVE-2021-31866
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-31866
Updated
2026-11-02
EUVDEUVD-2021-18741 No score

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.

Record
EUVD-2021-18741
Updated
2026-11-03
GitHub AdvisoriesGHSA-gv7v-mp3w-gfvh 5.3

Redmine before 4.0.9 and 4.1.x before 4.1.3 allows an attacker to learn the values of internal...

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.

Record
GHSA-gv7v-mp3w-gfvh
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-203
Updated
2026-11-02
OSV 5.3

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.

Record
CVE-2021-31866
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2021-31866 5.3

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.

Record
DEBIAN-CVE-2021-31866
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2021-31866 5.3

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.

Record
UBUNTU-CVE-2021-31866
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVBIT-redmine-2021-31866 No score

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.

Record
BIT-redmine-2021-31866
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redmine
Bitnami
before 4.0.9, 4.1.0 up to 4.1.3
4.0.94.1.3
redmine
Debian:12
before 5.0.0-1
5.0.0-1
redmine
Debian:13
before 5.0.0-1
5.0.0-1
redmine
Debian:14
before 5.0.0-1
5.0.0-1
redmine
Debian:9
From an advisory covering 10 CVEs
before 3.3.1-4+deb9u4, plus listed versions
3.3.1-43.3.1-4+deb9u13.3.1-4+deb9u23.3.1-4+deb9u3
3.3.1-4+deb9u4
redmine
Ubuntu:16.04:LTS
All versions, plus listed versions
3.0~20140825-83.2.0-13.2.0-33.2.1-13.2.1-23.2.1-2ubuntu0.2
None known
redmine
Ubuntu:18.04:LTS
All versions, plus listed versions
3.3.1-43.4.2-13.4.4-13.4.4-1ubuntu0.1
None known
redmine
Ubuntu:20.04:LTS
All versions, plus listed versions
4.0.4-14.0.4-34.0.6-2
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-31866 is a medium vulnerability (CVSS 5.3) in Redmine, published April 28, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 68th percentile. Fixed in redmine 4.0.9.

References

MoveEnter Open