CVE-2020-12762

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-12762
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-12762.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-12762
Related
Published
2020-05-09T18:15:11Z
Modified
2024-12-05T15:26:26.405805Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

References

Affected packages

Alpine:v3.10 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0

Alpine:v3.11 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0

Alpine:v3.12 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.13 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.14 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.15 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.15 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0

Alpine:v3.16 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.16 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0

Alpine:v3.17 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.17 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0

Alpine:v3.18 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.18 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0
0.99.9-r1

Alpine:v3.19 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.19 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0
0.99.9-r1

Alpine:v3.20 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.20 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0
0.99.9-r1

Alpine:v3.21 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0
0.14-r0

Alpine:v3.21 / libfastjson

Package

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

Affected ranges

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

Affected versions

0.*

0.99.2-r0
0.99.4-r0
0.99.7-r0
0.99.8-r0
0.99.8-r1
0.99.8-r2
0.99.9-r0
0.99.9-r1

Alpine:v3.9 / json-c

Package

Name
json-c
Purl
pkg:apk/alpine/json-c?arch=source

Affected ranges

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

Affected versions

0.*

0.10-r0
0.11-r0
0.12-r0
0.12-r1
0.12.1-r0
0.12.1-r1
0.12.1-r2
0.12.1-r3
0.13.1-r0

Debian:11 / json-c

Package

Name
json-c
Purl
pkg:deb/debian/json-c?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.13.1+dfsg-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / json-c

Package

Name
json-c
Purl
pkg:deb/debian/json-c?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.13.1+dfsg-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / json-c

Package

Name
json-c
Purl
pkg:deb/debian/json-c?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.13.1+dfsg-8

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / libfastjson

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.99.9-1
0.99.9-2

1.*

1.2304.0-1
1.2304.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libfastjson

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libfastjson

Package

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

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/json-c/json-c

Affected ranges

Type
GIT
Repo
https://github.com/json-c/json-c
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed