9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.5 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.006 Low
EPSS
Percentile
78.2%
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a ‘\0’ byte, returning a pointer to a string of length zero, which is not the length stored in space_len.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Alpine | edge-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.10-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.11-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.12-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.13-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.14-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.15-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.16-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.17-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
Alpine | 3.18-main | noarch | ruby | < 2.4.2-r0 | UNKNOWN |
9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
7.5 High
CVSS2
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
0.006 Low
EPSS
Percentile
78.2%