Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-18190

A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-18190
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:27 UTC · Revision 1

Source evidence

CVE-2017-18190

core-osv · Original source

Published 16 Feb 2018, 17:29 UTC

A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).

osv:CVE-2017-18190
Complete source record
{
  "id": "074462e309e002b14d13539b123e08996c8df1c16ad6cddbfef11df7130f1c2d",
  "url": "https://osv.dev/vulnerability/CVE-2017-18190",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-18190",
    "summary": "A localhost.localdomain whitelist entry in valid_host() in scheduler/client.c in CUPS before 2.2.2 allows remote attackers to execute arbitrary IPP commands by sending POST requests to the CUPS daemon in conjunction with DNS rebinding. The localhost.localdomain name is often resolved via a DNS server (neither the OS nor the web browser is responsible for ensuring that localhost.localdomain is 127.0.0.1).",
    "evidence": "osv:CVE-2017-18190",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-18190",
      "aliases": [
        "CVE-2017-18190"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apple/cups",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0f2f21af96909ef93924940f59d608676cb0bc91"
                },
                {
                  "fixed": "afa80cb2b457bf8d64f775bed307588610476c41"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apple:cups:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "afa80cb2b457bf8d64f775bed307588610476c41"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2b1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-18190.json",
            "vanir_signatures": [
              {
                "id": "CVE-2017-18190-1743f3f3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "302658024072875243033420850438614531105",
                    "130160219874356529203486071918946739631",
                    "142938483384107584627827293240756089848",
                    "84374574546196658409403027367894262207",
                    "83071393015830832112070740309847556480",
                    "50811428831373237049626290172088440588"
                  ]
                },
                "source": "https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41",
                "target": {
                  "file": "scheduler/client.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2017-18190-857bba39",
                "digest": {
                  "length": 2468,
                  "function_hash": "179072345992092918136522306449204847340"
                },
                "source": "https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41",
                "target": {
                  "file": "scheduler/client.c",
                  "function": "valid_host"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:37:09Z"
          }
        }
      ],
      "modified": "2026-10-20T13:37:09.097141943Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2018/02/msg00023.html",
        "https://lists.debian.org/debian-lts-announce/2018/07/msg00003.html",
        "https://usn.ubuntu.com/3577-1/",
        "https://bugs.chromium.org/p/project-zero/issues/detail?id=1048",
        "https://github.com/apple/cups/commit/afa80cb2b457bf8d64f775bed307588610476c41"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-18190",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387893,
  "published_at": "2018-02-16T17:29:00.217+00:00"
}