Skip to content
Heist/ feed
Back to feed
HighFix available

uw-imap — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2018-19518

University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.

Products
uw-imap
Affected versions
Not specified
Fixed versions
8:2007f~dfsg-6
CVEs
CVE-2018-19518
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:10 UTC · Revision 1

Source evidence

DEBIAN-CVE-2018-19518

core-osv · Original source

Published 25 Nov 2018, 10:29 UTC

University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a "-oProxyCommand" argument.

osv:DEBIAN-CVE-2018-19518

uw-imap

Fixed versions: 8:2007f~dfsg-6

Complete source record
{
  "id": "19917044f05ebf1e578342256be4d6bb8fd7f07bb9073683e2f5ec7979785e6f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-19518",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2018-19518",
    "summary": "University of Washington IMAP Toolkit 2007f on UNIX, as used in imap_open() in PHP and other products, launches an rsh command (by means of the imap_rimap function in c-client/imap4r1.c and the tcp_aopen function in osdep/unix/tcp_unix.c) without preventing argument injection, which might allow remote attackers to execute arbitrary OS commands if the IMAP server name is untrusted input (e.g., entered by a user of a web application) and if rsh has been replaced by a program with different argument semantics. For example, if rsh is a link to ssh (as seen on Debian and Ubuntu systems), then the attack can use an IMAP server name containing a \"-oProxyCommand\" argument.",
    "evidence": "osv:DEBIAN-CVE-2018-19518",
    "products": [
      {
        "name": {
          "value": "uw-imap",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "8:2007f~dfsg-6",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2018-19518",
      "aliases": [
        "DEBIAN-CVE-2018-19518"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8:2007f~dfsg-6"
                }
              ]
            }
          ],
          "package": {
            "name": "uw-imap",
            "purl": "pkg:deb/debian/uw-imap?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-19518.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:03.427846023Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-19518"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2018-19518"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-19518",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 420258,
  "published_at": "2018-11-25T10:29:00.25+00:00"
}