{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "websocket-extensions (ruby)",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "All versions prior to 0.1.5"
                        }
                    ]
                }
            ],
            "datePublic": "2020-06-02T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking. The extension parser may take quadratic time when parsing a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. This could be abused by an attacker to conduct Regex Denial Of Service (ReDoS) on a single-threaded server by providing a malicious payload with the Sec-WebSocket-Extensions header."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "Regular Expression Denial of Service (ReDoS)",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2020-09-17T14:27:33",
                "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
                "shortName": "snyk"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830"
                },
                {
                    "name": "[debian-lts-announce] 20200819 [SECURITY] [DLA 2334-1] ruby-websocket-extensions security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00031.html"
                },
                {
                    "name": "USN-4502-1",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_UBUNTU"
                    ],
                    "url": "https://usn.ubuntu.com/4502-1/"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "report@snyk.io",
                    "ID": "CVE-2020-7663",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "websocket-extensions (ruby)",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "All versions prior to 0.1.5"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "websocket-extensions ruby module prior to 0.1.5 allows Denial of Service (DoS) via Regex Backtracking. The extension parser may take quadratic time when parsing a header containing an unclosed string parameter value whose content is a repeating two-byte sequence of a backslash and some other character. This could be abused by an attacker to conduct Regex Denial Of Service (ReDoS) on a single-threaded server by providing a malicious payload with the Sec-WebSocket-Extensions header."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Regular Expression Denial of Service (ReDoS)"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2",
                            "refsource": "MISC",
                            "url": "https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2"
                        },
                        {
                            "name": "https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b",
                            "refsource": "MISC",
                            "url": "https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b"
                        },
                        {
                            "name": "https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions",
                            "refsource": "MISC",
                            "url": "https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions"
                        },
                        {
                            "name": "https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830",
                            "refsource": "MISC",
                            "url": "https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830"
                        },
                        {
                            "name": "[debian-lts-announce] 20200819 [SECURITY] [DLA 2334-1] ruby-websocket-extensions security update",
                            "refsource": "MLIST",
                            "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00031.html"
                        },
                        {
                            "name": "USN-4502-1",
                            "refsource": "UBUNTU",
                            "url": "https://usn.ubuntu.com/4502-1/"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T09:33:20.058Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/faye/websocket-extensions-ruby/security/advisories/GHSA-g6wq-qcwm-j5g2"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/faye/websocket-extensions-ruby/commit/aa156a439da681361ed6f53f1a8131892418838b"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://blog.jcoglan.com/2020/06/02/redos-vulnerability-in-websocket-extensions"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://snyk.io/vuln/SNYK-RUBY-WEBSOCKETEXTENSIONS-570830"
                    },
                    {
                        "name": "[debian-lts-announce] 20200819 [SECURITY] [DLA 2334-1] ruby-websocket-extensions security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00031.html"
                    },
                    {
                        "name": "USN-4502-1",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_UBUNTU",
                            "x_transferred"
                        ],
                        "url": "https://usn.ubuntu.com/4502-1/"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "assignerShortName": "snyk",
        "cveId": "CVE-2020-7663",
        "datePublished": "2020-06-02T18:25:01",
        "dateReserved": "2020-01-21T00:00:00",
        "dateUpdated": "2024-08-04T09:33:20.058Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}