-
Notifications
You must be signed in to change notification settings - Fork 292
/
GHSA-599f-7c49-w659.json
120 lines (120 loc) · 3.74 KB
/
GHSA-599f-7c49-w659.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"schema_version": "1.4.0",
"id": "GHSA-599f-7c49-w659",
"modified": "2022-10-17T17:34:05Z",
"published": "2022-10-13T19:00:17Z",
"aliases": [
"CVE-2022-42889"
],
"summary": "Arbitrary code execution in Apache Commons Text",
"details": "Apache Commons Text performs variable interpolation, allowing properties to be dynamically evaluated and expanded. The standard format for interpolation is \"${prefix:name}\", where \"prefix\" is used to locate an instance of org.apache.commons.text.lookup.StringLookup that performs the interpolation. Starting with version 1.5 and continuing through 1.9, the set of default Lookup instances included interpolators that could result in arbitrary code execution or contact with remote servers. These lookups are: - \"script\" - execute expressions using the JVM script execution engine (javax.script) - \"dns\" - resolve dns records - \"url\" - load values from urls, including from remote servers Applications using the interpolation defaults in the affected versions may be vulnerable to remote code execution or unintentional contact with remote servers if untrusted configuration values are used. Users are recommended to upgrade to Apache Commons Text 1.10.0, which disables the problematic interpolators by default.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "Maven",
"name": "org.apache.commons:commons-text"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.5"
},
{
"fixed": "1.10.0"
}
]
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.guicedee.services:commons-text"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1.2.2.1-jre17"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-42889"
},
{
"type": "WEB",
"url": "https://arxiv.org/pdf/2306.05534"
},
{
"type": "PACKAGE",
"url": "https://github.com/apache/commons-text"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread/n2bd4vdsgkqh2tm14l1wyc3jyol7s1om"
},
{
"type": "WEB",
"url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0022"
},
{
"type": "WEB",
"url": "https://security.gentoo.org/glsa/202301-05"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20221020-0004"
},
{
"type": "ADVISORY",
"url": "https://securitylab.github.com/advisories/GHSL-2022-018_Apache_Commons_Text"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/171003/OX-App-Suite-Cross-Site-Scripting-Server-Side-Request-Forgery.html"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/176650/Apache-Commons-Text-1.9-Remote-Code-Execution.html"
},
{
"type": "WEB",
"url": "http://seclists.org/fulldisclosure/2023/Feb/3"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2022/10/13/4"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2022/10/18/1"
}
],
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "CRITICAL",
"github_reviewed": true,
"github_reviewed_at": "2022-10-13T20:22:17Z",
"nvd_published_at": "2022-10-13T13:15:00Z"
}
}