Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-1000119

Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-1000119
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:51 UTC · Revision 1

Source evidence

CVE-2018-1000119

core-osv · Original source

Published 7 Mar 2018, 14:29 UTC

Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.

osv:CVE-2018-1000119
Complete source record
{
  "id": "e168b6a5d975f82b907caf8172521dd8b52446e5ba3f624b6b376cdd438f1a75",
  "url": "https://osv.dev/vulnerability/CVE-2018-1000119",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-1000119",
    "summary": "Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.",
    "evidence": "osv:CVE-2018-1000119",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-1000119",
      "aliases": [
        "CVE-2018-1000119",
        "GHSA-688c-3x49-6rqj"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sinatra/rack-protection",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a81e964e840c064c1a37b0dd165d7d5d8d5759bc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sinatrarb:rack-protection:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000119.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/sinatra/sinatra",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8aa6c42ef724f93ae309fb7c5668e19ad547eceb"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "8aa6c42ef724f93ae309fb7c5668e19ad547eceb"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-1000119.json"
          }
        }
      ],
      "modified": "2026-10-24T10:50:31.212313902Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2018:1060",
        "https://www.debian.org/security/2018/dsa-4247",
        "https://github.com/sinatra/rack-protection/pull/98",
        "https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc1:*:*:*:*:*:*",
              "cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc2:*:*:*:*:*:*",
              "cpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc3:*:*:*:*:*:*"
            ],
            "vendor_product": "sinatrarb:rack-protection",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0-rc1"
                  },
                  {
                    "last_affected": "2.0.0-rc1"
                  },
                  {
                    "introduced": "2.0.0-rc2"
                  },
                  {
                    "last_affected": "2.0.0-rc2"
                  },
                  {
                    "introduced": "2.0.0-rc3"
                  },
                  {
                    "last_affected": "2.0.0-rc3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-1000119",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442243,
  "published_at": "2018-03-07T14:29:00.39+00:00"
}