CVE-2016-0634

Source
https://nvd.nist.gov/vuln/detail/CVE-2016-0634
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-0634.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-0634
Related
Published
2017-08-28T15:29:01Z
Modified
2024-12-05T15:03:22.111637Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The expansion of '\h' in the prompt string in bash 4.3 allows remote authenticated users to execute arbitrary code via shell metacharacters placed in 'hostname' of a machine.

References

Affected packages

Alpine:v3.10 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.11 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.12 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.13 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.14 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.15 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.16 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.17 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.18 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.19 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.20 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.21 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.7 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.8 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Alpine:v3.9 / bash

Package

Name
bash
Purl
pkg:apk/alpine/bash?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.4.12-r1

Affected versions

4.*

4.0.035-r0
4.1.002-r0
4.1.005-r0
4.1.005-r1
4.1.007-r0
4.1.009-r0
4.1.009-r1
4.2.008-r0
4.2.010-r0
4.2.020-r0
4.2.024-r0
4.2.028-r0
4.2.029-r0
4.2.036-r0
4.2.037-r0
4.2.039-r0
4.2.042-r0
4.2.045-r0
4.2.045-r1
4.3-r1
4.3.011-r1
4.3.011-r2
4.3.018-r2
4.3.025-r0
4.3.025-r1
4.3.026-r1
4.3.27-r0
4.3.28-r0
4.3.29-r0
4.3.30-r0
4.3.33-r0
4.3.33-r1
4.3.42-r0
4.3.42-r1
4.3.42-r2
4.3.42-r3
4.3.46-r3
4.3.46-r4
4.3.48-r0
4.3.48-r1
4.3.48-r2
4.4.12-r0

Debian:11 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / bash

Package

Name
bash
Purl
pkg:deb/debian/bash?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "unimportant"
}