Skip to content
Heist/ feed
Back to feed
HighFix available

rsync — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2018-5764

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

Products
rsync
Affected versions
Not specified
Fixed versions
3.1.3-r0
CVEs
CVE-2018-5764
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:16 UTC · Revision 1

Source evidence

ALPINE-CVE-2018-5764

core-osv · Original source

Published 17 Jan 2018, 22:29 UTC

The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.

osv:ALPINE-CVE-2018-5764

rsync

Fixed versions: 3.1.3-r0

rsync

Fixed versions: 3.1.3-r0

rsync

Fixed versions: 3.1.3-r0

rsync

Fixed versions: 3.1.3-r0

Complete source record
{
  "id": "ffc6489c401096dae07bb2935d1b9a3e913e4a189cdcf76659d60419a688105b",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-5764",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2018-5764",
    "summary": "The parse_arguments function in options.c in rsyncd in rsync before 3.1.3 does not prevent multiple --protect-args uses, which allows remote attackers to bypass an argument-sanitization protection mechanism.",
    "evidence": "osv:ALPINE-CVE-2018-5764",
    "products": [
      {
        "name": {
          "value": "rsync",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.3-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rsync",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.3-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rsync",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.3-r0",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "rsync",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.1.3-r0",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "ALPINE-CVE-2018-5764",
      "aliases": [
        "ALPINE-CVE-2018-5764"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "rsync",
            "purl": "pkg:apk/alpine/rsync?arch=source",
            "ecosystem": "Alpine:v3.4"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5764.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "rsync",
            "purl": "pkg:apk/alpine/rsync?arch=source",
            "ecosystem": "Alpine:v3.5"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5764.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "rsync",
            "purl": "pkg:apk/alpine/rsync?arch=source",
            "ecosystem": "Alpine:v3.6"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5764.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "3.1.3-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "rsync",
            "purl": "pkg:apk/alpine/rsync?arch=source",
            "ecosystem": "Alpine:v3.7"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-5764.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-23T17:24:47.907688852Z",
      "provider": "osv",
      "upstream": [
        "CVE-2018-5764"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2018-5764"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2018-5764",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 416146,
  "published_at": "2018-01-17T22:29:00.217+00:00"
}