UBUNTU-CVE-2014-9938

Source
https://ubuntu.com/security/CVE-2014-9938
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-9938.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2014-9938
Related
Published
2017-03-19T00:00:00Z
Modified
2017-03-19T00:00:00Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in the PS1 variable, allowing a malicious repository to cause code execution.

References

Affected packages

Ubuntu:14.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:1.9.1-1ubuntu0.4

Affected versions

1:1.*

1:1.8.3.2-1
1:1.8.4.2-1
1:1.8.4.3-1
1:1.8.4.4-1
1:1.8.5-1
1:1.8.5.1-1
1:1.8.5.2-1
1:1.8.5.2-2
1:1.8.5.3-1
1:1.9~rc1-1
1:1.9.0-1
1:1.9.1-1
1:1.9.1-1ubuntu0.1
1:1.9.1-1ubuntu0.2
1:1.9.1-1ubuntu0.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-arch"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-bzr"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-core"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-el"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:1.9.1-1ubuntu0.4",
            "binary_name": "gitweb"
        }
    ]
}

Ubuntu:16.04:LTS / git

Package

Name
git
Purl
pkg:deb/ubuntu/git?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:2.7.4-0ubuntu1

Affected versions

1:2.*

1:2.5.0-1
1:2.6.2-1
1:2.6.3-1
1:2.6.4-1
1:2.7.0~rc3-1
1:2.7.0-1
1:2.7.3-0ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-all"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-arch"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-core"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-cvs"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-daemon-run"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-daemon-sysvinit"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-doc"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-el"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-email"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-gui"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-man"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-mediawiki"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "git-svn"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "gitk"
        },
        {
            "binary_version": "1:2.7.4-0ubuntu1",
            "binary_name": "gitweb"
        }
    ]
}