Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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 authentication keys by observing timing differences in string comparison operations within SysController and MailHandlerController.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-31866
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:24 UTC · Revision 1

Source evidence

CVE-2021-31866

core-osv · Original source

Published 28 Apr 2021, 07:15 UTC

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.

osv:CVE-2021-31866
Complete source record
{
  "id": "fdc4f71e941d6547b25d8a78714340168fb8800edfbabc69b663509c28fed6e8",
  "url": "https://osv.dev/vulnerability/CVE-2021-31866",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-31866",
    "summary": "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.",
    "evidence": "osv:CVE-2021-31866",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-31866",
      "aliases": [
        "BIT-redmine-2021-31866",
        "CVE-2021-31866"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/redmine/redmine",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ffaff01ccf0548c22f2e24486162988e4eda8575"
                },
                {
                  "introduced": "f5e62c8b125a09b2b66192125708d1aea492353c"
                },
                {
                  "fixed": "d1b7905ca9af8075542dad8c0fd671c6c82fd32f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:redmine:redmine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.0.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:redmine:redmine:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0"
                      },
                      {
                        "fixed": "4.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31866.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:38.868221487Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2021/05/msg00013.html",
        "https://www.redmine.org/news/131",
        "https://www.redmine.org/projects/redmine/wiki/Security_Advisories"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-31866",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 434551,
  "published_at": "2021-04-28T07:15:07.663+00:00"
}