Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-13228

deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO file, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled. By winning a race condition to replace the /tmp/repo.iso symlink by an attacker controlled ISO file, further privilege escalation may be possible.

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

Source evidence

CVE-2019-13228

core-osv · Original source

Published 4 Jul 2019, 12:15 UTC

deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO file, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled. By winning a race condition to replace the /tmp/repo.iso symlink by an attacker controlled ISO file, further privilege escalation may be possible.

osv:CVE-2019-13228
Complete source record
{
  "id": "ddfc653120634eba1989b1217b86ed88b1a590cf0e5871d61696f25236b87fb2",
  "url": "https://osv.dev/vulnerability/CVE-2019-13228",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-13228",
    "summary": "deepin-clone before 1.1.3 uses a fixed path /tmp/repo.iso in the BootDoctor::fix() function to download an ISO file, and follows symlinks there. An unprivileged user can prepare a symlink attack there to create or overwrite files in arbitrary file system locations. The content is not attacker controlled. By winning a race condition to replace the /tmp/repo.iso symlink by an attacker controlled ISO file, further privilege escalation may be possible.",
    "evidence": "osv:CVE-2019-13228",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-13228",
      "aliases": [
        "CVE-2019-13228"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/martyr-deepin/deepin-clone",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:deepin:deepin-clone:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.1.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.1.2.1",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "0.1.2",
            "0.1.1",
            "0.1.0",
            "0.0.9",
            "0.0.8.5",
            "0.0.8.4",
            "0.0.8.3",
            "0.0.8.2",
            "0.0.8.1",
            "0.0.8",
            "0.0.7.1",
            "0.0.7",
            "0.0.6",
            "0.0.5.1",
            "0.0.5",
            "0.0.4",
            "0.0.3",
            "0.0.2",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13228.json",
            "vanir_signatures": [
              {
                "id": "CVE-2019-13228-0ea8271f",
                "digest": {
                  "length": 5262,
                  "function_hash": "113563948601623775091994925457347850496"
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/main.cpp",
                  "function": "main"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-2619044d",
                "digest": {
                  "length": 715,
                  "function_hash": "15114990063950498979010082607885604993"
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/helper.cpp",
                  "function": "Helper::temporaryMountDevice"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-29107175",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "62791092068982009360708951756407158019",
                    "183656613279236439411046807009905886941",
                    "156882658786362086991523233056356618644",
                    "192281343816030771018560832689346276348",
                    "184585851938587393543751868085973308293"
                  ]
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/fixboot/bootdoctor.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-3b75f8d0",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "297493941717721491120353739802702694378",
                    "70663712124648028788775084082602127773",
                    "85915241062483032978909714211164534520",
                    "95727840979590646384826573652163520682",
                    "158494060859160071111546718480802766467",
                    "44026927524306943319463477520998127922",
                    "202445875717026759860022253414285575446",
                    "28710741109670800836779551038406405714",
                    "274459582798055139454775133966231040261",
                    "137762565925767635282689544041667052153",
                    "132283219185783715285941624257154906221",
                    "302653461098447736719831988179108189639"
                  ]
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/helper.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-4f9bf2b7",
                "digest": {
                  "length": 3623,
                  "function_hash": "28849812168971268904174299514783830592"
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/ddevicediskinfo.cpp",
                  "function": "DDeviceDiskInfoPrivate::openDataStream"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-68550ce5",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "58264006821500031156106701592342553815",
                    "103938867238767200280192958584417589954",
                    "172366182685669957712578976268734425999",
                    "308269815039287284986994750527323314095",
                    "102255409522555953468421437115475193332",
                    "194190622566688223043749150494675717970",
                    "300223336700056411171180316392015238634",
                    "45209363262191569559167691881851339042",
                    "50368863285329939229768157340002832949",
                    "22916161165584685129666313370741910864",
                    "136471237446649993883938372850913848643",
                    "239967882650600827702346189270172629001",
                    "77143623736570513858456326751685898567",
                    "79094150988835526094010809817994885981",
                    "168551283402309239636945602582763034847",
                    "273145873841070949625564049033054353932",
                    "26590347001226687252240230793084236889",
                    "76417755425948067877209086338907040831",
                    "180080363487796562253453501927238441739",
                    "214379789846089921371141965617501070517",
                    "75407180318704451699303769443305508093",
                    "107515924067177073179555495791575344681",
                    "99521949033218398506077052531707715275",
                    "334481101730258788022912403254789715770",
                    "213900814101210555089531401897730498386",
                    "47472184887931405410206004603966111469"
                  ]
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/main.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-9d49d7d2",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "324363659789247176069352626471038849076",
                    "182187092244263681320822910085326308734",
                    "172543767542843172380504294006296039083",
                    "266436126093247388408246011968455259512",
                    "48002355643099683936159613585372781730",
                    "217210226020753186543389213980821076458"
                  ]
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/ddevicediskinfo.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-cb8b1423",
                "digest": {
                  "length": 6578,
                  "function_hash": "336834746435690710190750556304552413246"
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/fixboot/bootdoctor.cpp",
                  "function": "BootDoctor::fix"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-e1d4f7a3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "73211461248026863421626167981980895695",
                    "4466010122219878740845082028969158904",
                    "9156597926303972806743309778298674621"
                  ]
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/helper.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2019-13228-e2813487",
                "digest": {
                  "length": 2721,
                  "function_hash": "252563795239347951469147610591389157525"
                },
                "source": "https://github.com/martyr-deepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab",
                "target": {
                  "file": "app/src/corelib/helper.cpp",
                  "function": "Helper::getPartitionSizeInfo"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:41:10Z"
          }
        }
      ],
      "modified": "2026-10-20T13:41:10.072485280Z",
      "provider": "osv",
      "references": [
        "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCHGRJV5CWTMYEE5B5C2FNMCFVP45S7H/",
        "https://bugzilla.suse.com/show_bug.cgi?id=1130388",
        "https://github.com/linuxdeepin/deepin-clone/commit/e079f3e2712b4f8c28e3e63e71ba1a1f90fce1ab"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-13228",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387957,
  "published_at": "2019-07-04T12:15:10.597+00:00"
}