CVE-2017-9798

Source
https://cve.org/CVERecord?id=CVE-2017-9798
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9798.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-9798
Downstream
ALPINE (1)
BELL (1)
CLEANSTART (1)
DEBIAN (1)
MGASA (2)
openSUSE (1)
RHSA (10)
SUSE (4)
UBUNTU (1)
Related
Published
2017-09-18T15:29:00Z
Modified
2026-10-20T13:25:05Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "7.0"
                        },
                        {
                            "last_affected":  "7.0"
                        },
                        {
                            "introduced":  "8.0"
                        },
                        {
                            "last_affected":  "8.0"
                        },
                        {
                            "introduced":  "9.0"
                        },
                        {
                            "last_affected":  "9.0"
                        }
                    ],
                    "source":  "CPE_STRING"
                }
            ],
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/apache/httpd

Affected ranges

Type
GIT
Repo
https://github.com/apache/httpd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Introduced
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "2.2.34"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.0:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.0"
                },
                {
                    "last_affected":  "2.4.0"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.1:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.1"
                },
                {
                    "last_affected":  "2.4.1"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.2:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.2"
                },
                {
                    "last_affected":  "2.4.2"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.3:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.3"
                },
                {
                    "last_affected":  "2.4.3"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.4:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.4"
                },
                {
                    "last_affected":  "2.4.4"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.6:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.6"
                },
                {
                    "last_affected":  "2.4.6"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.7:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.7"
                },
                {
                    "last_affected":  "2.4.7"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.9:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.9"
                },
                {
                    "last_affected":  "2.4.9"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.10:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.10"
                },
                {
                    "last_affected":  "2.4.10"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.12:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.12"
                },
                {
                    "last_affected":  "2.4.12"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.16:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.16"
                },
                {
                    "last_affected":  "2.4.16"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.17:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.17"
                },
                {
                    "last_affected":  "2.4.17"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.18:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.18"
                },
                {
                    "last_affected":  "2.4.18"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.20:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.20"
                },
                {
                    "last_affected":  "2.4.20"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.23:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.23"
                },
                {
                    "last_affected":  "2.4.23"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.25:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.25"
                },
                {
                    "last_affected":  "2.4.25"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.26:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.26"
                },
                {
                    "last_affected":  "2.4.26"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "cpe":  "cpe:2.3:a:apache:http_server:2.4.27:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "2.4.27"
                },
                {
                    "last_affected":  "2.4.27"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "4cc27823899e070268b906ca677ee838d07cf67a"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

2.*
2.2.34
2.4.0
2.4.1
2.4.10
2.4.12
2.4.16
2.4.17
2.4.18
2.4.2
2.4.20
2.4.23
2.4.25
2.4.26
2.4.27
2.4.3
2.4.4
2.4.6
2.4.7
2.4.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-9798.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "337930894629450298360500448490856449586",
                "334238999121930181298105580911244496304",
                "300895380359070361487039173856001052716"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2017-9798-0a974cf5",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a",
        "target":  {
            "file":  "server/core.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "180929579706800769125734275403264802048",
            "length":  1215
        },
        "id":  "CVE-2017-9798-1e2664d9",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a",
        "target":  {
            "file":  "server/core.c",
            "function":  "ap_limit_section"
        }
    }
]
vanir_signatures_modified
"2026-10-20T13:25:05Z"