Skip to content
Heist/ feed
Back to feed
MediumFix available

openssh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2019-6111

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

Products
openssh
Affected versions
Not specified
Fixed versions
1:7.9p1-9
CVEs
CVE-2019-6111
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:21 UTC · Revision 1

Source evidence

DEBIAN-CVE-2019-6111

core-osv · Original source

Published 31 Jan 2019, 18:29 UTC

An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).

osv:DEBIAN-CVE-2019-6111

openssh

Fixed versions: 1:7.9p1-9

openssh

Fixed versions: 1:7.9p1-9

openssh

Fixed versions: 1:7.9p1-9

Complete source record
{
  "id": "b78f066b127f00126b2f26fc2a3b8b83e916c4673a3cb510ae41bd9b0b848d1b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2019-6111",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2019-6111",
    "summary": "An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).",
    "evidence": "osv:DEBIAN-CVE-2019-6111",
    "products": [
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.9p1-9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.9p1-9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:7.9p1-9",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2019-6111",
      "aliases": [
        "DEBIAN-CVE-2019-6111"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.9p1-9"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-6111.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.9p1-9"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-6111.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:7.9p1-9"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2019-6111.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T07:47:27.160004896Z",
      "provider": "osv",
      "upstream": [
        "CVE-2019-6111"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2019-6111"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2019-6111",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 322154,
  "published_at": "2019-01-31T18:29:00.867+00:00"
}