forked from snyk-labs/java-goof
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkevinkevin.json
14645 lines (14645 loc) · 667 KB
/
kevinkevin.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"vulnerabilities": [],
"ok": true,
"dependencyCount": 3,
"org": "kevin-s31-org",
"policy": "# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.\nversion: v1.25.0\nignore: {}\npatch: {}\n",
"isPrivate": true,
"licensesPolicy": {
"severities": {},
"orgLicenseRules": {
"AGPL-1.0": {
"licenseType": "AGPL-1.0",
"severity": "high",
"instructions": ""
},
"AGPL-3.0": {
"licenseType": "AGPL-3.0",
"severity": "high",
"instructions": ""
},
"Artistic-1.0": {
"licenseType": "Artistic-1.0",
"severity": "medium",
"instructions": ""
},
"Artistic-2.0": {
"licenseType": "Artistic-2.0",
"severity": "medium",
"instructions": ""
},
"CDDL-1.0": {
"licenseType": "CDDL-1.0",
"severity": "medium",
"instructions": ""
},
"CPOL-1.02": {
"licenseType": "CPOL-1.02",
"severity": "high",
"instructions": ""
},
"EPL-1.0": {
"licenseType": "EPL-1.0",
"severity": "medium",
"instructions": ""
},
"GPL-2.0": {
"licenseType": "GPL-2.0",
"severity": "high",
"instructions": ""
},
"GPL-3.0": {
"licenseType": "GPL-3.0",
"severity": "high",
"instructions": ""
},
"LGPL-2.0": {
"licenseType": "LGPL-2.0",
"severity": "medium",
"instructions": ""
},
"LGPL-2.1": {
"licenseType": "LGPL-2.1",
"severity": "medium",
"instructions": ""
},
"LGPL-3.0": {
"licenseType": "LGPL-3.0",
"severity": "medium",
"instructions": ""
},
"MPL-1.1": {
"licenseType": "MPL-1.1",
"severity": "medium",
"instructions": ""
},
"MPL-2.0": {
"licenseType": "MPL-2.0",
"severity": "medium",
"instructions": ""
},
"MS-RL": {
"licenseType": "MS-RL",
"severity": "medium",
"instructions": ""
},
"SimPL-2.0": {
"licenseType": "SimPL-2.0",
"severity": "high",
"instructions": ""
}
}
},
"packageManager": "maven",
"ignoreSettings": {
"adminOnly": false,
"reasonRequired": false,
"disregardFilesystemIgnores": false
},
"summary": "No known vulnerabilities",
"filesystemPolicy": false,
"uniqueCount": 0,
"projectName": "io.github.snyk:todolist-mvc",
"foundProjectCount": 3,
"displayTargetFile": "pom.xml",
"path": "/Users/ksuzy31/Kev-Stuff/Java-Goof/java-goof"
},
{
"vulnerabilities": [
{
"CVSSv3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"alternativeIds": [],
"creationTime": "2019-09-05T16:17:58.383761Z",
"credit": [
"Unknown"
],
"cvssScore": 9.8,
"description": "## Overview\n\n[c3p0:c3p0](https://mvnrepository.com/artifact/c3p0/c3p0) is a lIbrary for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. Note: This library is no longer maintained and has migrated to the artifact \r\n\"com.mchange:c3p0\"\n\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection.\nvia the `extractXmlConfigFromInputStream` in `com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java` during initialization.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\r\nXML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.\r\n\r\nAttacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.\r\n\r\nFor example, below is a sample XML document, containing an XML element- username.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n <username>John</username>\r\n</xml>\r\n```\r\n\r\nAn external XML entity - `xxe`, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of `/etc/passwd` and display it to the user rendered by `username`.\r\n\r\n```xml\r\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\r\n<!DOCTYPE foo [\r\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\r\n <username>&xxe;</username>\r\n</xml>\r\n```\r\n\r\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n\n\n## Remediation\n\nThere is no fixed version for `c3p0:c3p0`.\n\n\n## References\n\n- [GitHub Commit](https://github.com/swaldman/c3p0/commit/7dfdda63f42759a5ec9b63d725b7412f74adb3e1)\n",
"disclosureTime": "2018-12-24T13:29:00Z",
"exploit": "Not Defined",
"functions": [
{
"functionId": {
"filePath": "com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java",
"className": "C3P0ConfigXmlUtils",
"functionName": "extractXmlConfigFromInputStream"
},
"version": [
"[0.9.1,]"
]
}
],
"fixedIn": [],
"id": "SNYK-JAVA-C3P0-461017",
"identifiers": {
"CWE": [
"CWE-611"
],
"CVE": [
"CVE-2018-20433"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2020-12-14T14:41:01.987191Z",
"moduleName": "c3p0:c3p0",
"packageManager": "maven",
"packageName": "c3p0:c3p0",
"patches": [],
"proprietary": false,
"publicationTime": "2019-07-21T14:22:18Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/swaldman/c3p0/commit/7dfdda63f42759a5ec9b63d725b7412f74adb3e1"
}
],
"severity": "critical",
"socialTrendAlert": false,
"title": "XML External Entity (XXE) Injection",
"insights": {
"triageAdvice": null
},
"cvssDetails": [
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cvssV3BaseScore": 9.8,
"severity": "critical",
"modificationTime": "2022-01-03T16:25:31.174274Z"
}
],
"functions_new": [
{
"functionId": {
"className": "com.mchange.v2.c3p0.cfg.C3P0ConfigXmlUtils",
"functionName": "extractXmlConfigFromInputStream"
},
"version": [
"[0.9.1,]"
]
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"mavenModuleName": {
"groupId": "c3p0",
"artifactId": "c3p0"
},
"severityWithCritical": "critical",
"from": [
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O",
"alternativeIds": [],
"creationTime": "2019-09-05T16:24:58.914446Z",
"credit": [
"Unknown"
],
"cvssScore": 7.5,
"description": "## Overview\n[c3p0:c3p0](https://mvnrepository.com/artifact/c3p0/c3p0) is a lIbrary for augmenting traditional (DriverManager-based) JDBC drivers with JNDI-bindable DataSources, including DataSources that implement Connection and Statement Pooling, as described by the jdbc3 spec and jdbc2 std extension. Note: This library is no longer maintained and has migrated to the artifact \r\n\"com.mchange:c3p0\"\n\nAffected versions of this package are vulnerable to Denial of Service (DoS) due to missing protections against recursive entity expansion when loading XML configurations.\n\n## Details\n\nDenial of Service (DoS) describes a family of attacks, all aimed at making a system inaccessible to its intended and legitimate users.\n\nUnlike other vulnerabilities, DoS attacks usually do not aim at breaching security. Rather, they are focused on making websites and services unavailable to genuine users resulting in downtime.\n\nOne popular Denial of Service vulnerability is DDoS (a Distributed Denial of Service), an attack that attempts to clog network pipes to the system by generating a large volume of traffic from many machines.\n\nWhen it comes to open source libraries, DoS vulnerabilities allow attackers to trigger such a crash or crippling of the service by using a flaw either in the application code or from the use of open source libraries.\n\nTwo common types of DoS vulnerabilities:\n\n* High CPU/Memory Consumption- An attacker sending crafted requests that could cause the system to take a disproportionate amount of time to process. For example, [commons-fileupload:commons-fileupload](SNYK-JAVA-COMMONSFILEUPLOAD-30082).\n\n* Crash - An attacker sending crafted requests that could cause the system to crash. For Example, [npm `ws` package](https://snyk.io/vuln/npm:ws:20171108)\n\n## Remediation\nThere is no fixed version for `c3p0:c3p0`.\n## References\n- [POC: Hackerone Report](https://hackerone.com/reports/509315)\n",
"disclosureTime": "2019-04-22T22:18:26Z",
"exploit": "Proof of Concept",
"functions": [
{
"functionId": {
"filePath": "com/mchange/v2/c3p0/cfg/C3P0ConfigXmlUtils.java",
"className": "C3P0ConfigXmlUtils",
"functionName": "extractXmlConfigFromInputStream"
},
"version": [
"[0.9.1,]"
]
}
],
"fixedIn": [],
"id": "SNYK-JAVA-C3P0-461018",
"identifiers": {
"CWE": [
"CWE-776"
],
"GHSA": [
"GHSA-84p2-vf58-xhxv"
],
"CVE": [
"CVE-2019-5427"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-04-24T11:13:58.306515Z",
"moduleName": "c3p0:c3p0",
"packageManager": "maven",
"packageName": "c3p0:c3p0",
"patches": [],
"proprietary": false,
"publicationTime": "2019-04-22T22:18:26Z",
"references": [
{
"title": "POC: Hackerone Report",
"url": "https://hackerone.com/reports/509315"
}
],
"severity": "high",
"socialTrendAlert": false,
"title": "Denial of Service (DoS)",
"insights": {
"triageAdvice": null
},
"cvssDetails": [
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cvssV3BaseScore": 7.5,
"severity": "high",
"modificationTime": "2022-04-23T01:11:20.164193Z"
}
],
"functions_new": [
{
"functionId": {
"className": "com.mchange.v2.c3p0.cfg.C3P0ConfigXmlUtils",
"functionName": "extractXmlConfigFromInputStream"
},
"version": [
"[0.9.1,]"
]
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"mavenModuleName": {
"groupId": "c3p0",
"artifactId": "c3p0"
},
"severityWithCritical": "high",
"from": [
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"id": "snyk:lic:maven:c3p0:c3p0:LGPL-3.0",
"packageName": "c3p0:c3p0",
"semver": {
"vulnerable": [
"[0,)"
]
},
"creationTime": "2022-09-04T07:18:10.872Z",
"description": "LGPL-3.0 license",
"language": "java",
"license": "LGPL-3.0",
"packageManager": "maven",
"publicationTime": "2022-09-04T07:18:10.872Z",
"title": "LGPL-3.0 license",
"type": "license",
"severity": "medium",
"severityWithCritical": "medium",
"from": [
"io.github.snyk:[email protected]",
"c3p0:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "c3p0:c3p0",
"version": "0.9.1.2"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P",
"alternativeIds": [],
"creationTime": "2019-04-10T16:07:04.634619Z",
"credit": [
"Mario Areias"
],
"cvssScore": 7.5,
"description": "## Overview\n[dom4j:dom4j](https://github.com/dom4j/dom4j) is a flexible XML framework for Java. *Note*: this artifact has been deprecated for `org.dom4j:dom4j`.\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection due to improper validation of the `QName` inputs.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\nXML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.\n\nAttacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.\n\nFor example, below is a sample XML document, containing an XML element- username.\n\n```\n<xml>\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n <username>John</username>\n</xml>\n```\n\nAn external XML entity - `xxe`, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of `/etc/passwd` and display it to the user rendered by `username`.\n\n```\n<xml>\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<!DOCTYPE foo [\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\n <username>&xxe;</username>\n</xml>\n```\n\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n\n## Remediation\nThere is no fixed version for `dom4j:dom4j`.\n## References\n- [GitHub Commit](https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387)\n- [GitHub Issue](https://github.com/dom4j/dom4j/issues/48)\n- [POC: Ihacktoprotect Blog](https://ihacktoprotect.com/post/dom4j-xml-injection/)\n",
"disclosureTime": "2018-07-01T19:12:29Z",
"exploit": "Proof of Concept",
"functions": [
{
"functionId": {
"filePath": "org/dom4j/Namespace.java",
"className": "Namespace",
"functionName": "<init>"
},
"version": [
"[0,]"
]
},
{
"functionId": {
"filePath": "org/dom4j/QName.java",
"className": "QName",
"functionName": "<init>"
},
"version": [
"[0,]"
]
}
],
"fixedIn": [],
"id": "SNYK-JAVA-DOM4J-174153",
"identifiers": {
"CWE": [
"CWE-611"
],
"GHSA": [
"GHSA-6pcc-3rfx-4gpm"
],
"CVE": [
"CVE-2018-1000632"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-05-22T12:44:25.928596Z",
"moduleName": "dom4j:dom4j",
"packageManager": "maven",
"packageName": "dom4j:dom4j",
"patches": [],
"proprietary": false,
"publicationTime": "2018-08-21T14:16:13Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/dom4j/dom4j/commit/e598eb43d418744c4dbf62f647dd2381c9ce9387"
},
{
"title": "GitHub Issue",
"url": "https://github.com/dom4j/dom4j/issues/48"
},
{
"title": "POC: Ihacktoprotect Blog",
"url": "https://ihacktoprotect.com/post/dom4j-xml-injection/"
}
],
"severity": "high",
"socialTrendAlert": false,
"title": "XML External Entity (XXE) Injection",
"insights": {
"triageAdvice": null
},
"cvssDetails": [
{
"assigner": "SUSE",
"cvssV3Vector": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N",
"cvssV3BaseScore": 6.1,
"severity": "medium",
"modificationTime": "2022-05-04T00:48:09.564645Z"
},
{
"assigner": "RHEL",
"cvssV3Vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
"cvssV3BaseScore": 5.3,
"severity": "medium",
"modificationTime": "2022-09-01T15:08:29.459374Z"
},
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"cvssV3BaseScore": 7.5,
"severity": "high",
"modificationTime": "2022-01-03T16:12:35.769596Z"
}
],
"functions_new": [
{
"functionId": {
"className": "org.dom4j.Namespace",
"functionName": "<init>"
},
"version": [
"[0,]"
]
},
{
"functionId": {
"className": "org.dom4j.QName",
"functionName": "<init>"
},
"version": [
"[0,]"
]
}
],
"semver": {
"vulnerable": [
"[0,]"
]
},
"mavenModuleName": {
"groupId": "dom4j",
"artifactId": "dom4j"
},
"severityWithCritical": "high",
"from": [
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]",
"dom4j:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "dom4j:dom4j",
"version": "1.6.1"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
"alternativeIds": [],
"creationTime": "2022-05-10T12:56:27.582369Z",
"credit": [
"Unknown"
],
"cvssScore": 7.4,
"description": "## Overview\n[dom4j:dom4j](https://github.com/dom4j/dom4j) is a flexible XML framework for Java. *Note*: this artifact has been deprecated for `org.dom4j:dom4j`.\n\nAffected versions of this package are vulnerable to XML External Entity (XXE) Injection. By using the default `SaxReader()` provided by Dom4J, external DTDs and External Entities are allowed, resulting in a possible XXE.\n\n## Details\nXXE Injection is a type of attack against an application that parses XML input.\nXML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. By default, many XML processors allow specification of an external entity, a URI that is dereferenced and evaluated during XML processing. When an XML document is being parsed, the parser can make a request and include the content at the specified URI inside of the XML document.\n\nAttacks can include disclosing local files, which may contain sensitive data such as passwords or private user data, using file: schemes or relative paths in the system identifier.\n\nFor example, below is a sample XML document, containing an XML element- username.\n\n```\n<xml>\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n <username>John</username>\n</xml>\n```\n\nAn external XML entity - `xxe`, is defined using a system identifier and present within a DOCTYPE header. These entities can access local or remote content. For example the below code contains an external XML entity that would fetch the content of `/etc/passwd` and display it to the user rendered by `username`.\n\n```\n<xml>\n<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<!DOCTYPE foo [\n <!ENTITY xxe SYSTEM \"file:///etc/passwd\" >]>\n <username>&xxe;</username>\n</xml>\n```\n\nOther XXE Injection attacks can access local resources that may not stop returning data, possibly impacting application availability and leading to Denial of Service.\n\n## Remediation\nThere is no fixed version for `dom4j:dom4j`.\n## References\n- [GitHub Commit](https://github.com/dom4j/dom4j/commit/a822852)\n- [RedHat Bugzilla Bug](https://bugzilla.redhat.com/show_bug.cgi?id=1694235)\n",
"disclosureTime": "2020-04-15T09:38:17Z",
"exploit": "Not Defined",
"functions": [],
"fixedIn": [],
"id": "SNYK-JAVA-DOM4J-2812975",
"identifiers": {
"CWE": [
"CWE-611"
],
"GHSA": [
"GHSA-hwj3-m3p6-hj38"
],
"CVE": [
"CVE-2020-10683"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-05-10T12:56:27.582382Z",
"moduleName": "dom4j:dom4j",
"packageManager": "maven",
"packageName": "dom4j:dom4j",
"patches": [],
"proprietary": false,
"publicationTime": "2020-04-16T15:22:50Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/dom4j/dom4j/commit/a822852"
},
{
"title": "RedHat Bugzilla Bug",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1694235"
}
],
"severity": "high",
"socialTrendAlert": false,
"title": "XML External Entity (XXE) Injection",
"insights": {
"triageAdvice": null
},
"cvssDetails": [
{
"assigner": "RHEL",
"cvssV3Vector": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H",
"cvssV3BaseScore": 7.4,
"severity": "high",
"modificationTime": "2022-09-01T15:33:50.699475Z"
},
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cvssV3BaseScore": 9.8,
"severity": "critical",
"modificationTime": "2022-07-26T01:11:31.495013Z"
}
],
"functions_new": [],
"semver": {
"vulnerable": [
"[0,]"
]
},
"mavenModuleName": {
"groupId": "dom4j",
"artifactId": "dom4j"
},
"severityWithCritical": "high",
"from": [
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]",
"dom4j:[email protected]"
],
"upgradePath": [],
"isUpgradable": false,
"isPatchable": false,
"name": "dom4j:dom4j",
"version": "1.6.1"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N/E:U/RL:O/RC:U",
"alternativeIds": [],
"creationTime": "2020-11-19T16:51:52.251545Z",
"credit": [
"Unknown"
],
"cvssScore": 8.2,
"description": "## Overview\n[org.hibernate:hibernate-core](https://github.com/hibernate/hibernate-orm) is a library providing Object/Relational Mapping (ORM) support to applications, libraries, and frameworks.\n\nAffected versions of this package are vulnerable to SQL Injection. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SQL comments of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks. The highest threat from this vulnerability is to data confidentiality and integrity.\n## Remediation\nUpgrade `org.hibernate:hibernate-core` to version 5.4.24.Final or higher.\n## References\n- [GitHub Commit](https://github.com/hibernate/hibernate-orm/commit/59fede7acaaa1579b561407aefa582311f7ebe78)\n- [Redhat CVE Details](https://access.redhat.com/security/cve/cve-2020-25638)\n",
"disclosureTime": "2020-11-19T16:51:45Z",
"exploit": "Unproven",
"functions": [
{
"functionId": {
"filePath": "org/hibernate/sql/Update.java",
"className": "Update",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/SimpleSelect.java",
"className": "SimpleSelect",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/Select.java",
"className": "Select",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/QuerySelect.java",
"className": "QuerySelect",
"functionName": "toQueryString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/InsertSelect.java",
"className": "InsertSelect",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/Insert.java",
"className": "Insert",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/sql/Delete.java",
"className": "Delete",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"filePath": "org/hibernate/loader/plan/exec/query/internal/SelectStatementBuilder.java",
"className": "SelectStatementBuilder",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
}
],
"fixedIn": [
"5.4.24.Final"
],
"id": "SNYK-JAVA-ORGHIBERNATE-1041788",
"identifiers": {
"CWE": [
"CWE-89"
],
"CVE": [
"CVE-2020-25638"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-07-18T12:56:04.506674Z",
"moduleName": "org.hibernate:hibernate-core",
"packageManager": "maven",
"packageName": "org.hibernate:hibernate-core",
"patches": [],
"proprietary": false,
"publicationTime": "2020-11-19T16:57:14.572204Z",
"references": [
{
"title": "GitHub Commit",
"url": "https://github.com/hibernate/hibernate-orm/commit/59fede7acaaa1579b561407aefa582311f7ebe78"
},
{
"title": "Redhat CVE Details",
"url": "https://access.redhat.com/security/cve/cve-2020-25638"
}
],
"severity": "high",
"socialTrendAlert": false,
"title": "SQL Injection",
"insights": {
"triageAdvice": "This vulnerability is only applicable on systems using JPA Criteria API"
},
"cvssDetails": [
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
"cvssV3BaseScore": 7.4,
"severity": "high",
"modificationTime": "2022-07-26T01:11:35.094170Z"
}
],
"functions_new": [
{
"functionId": {
"className": "org.hibernate.sql.Update",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.SimpleSelect",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.Select",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.QuerySelect",
"functionName": "toQueryString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.InsertSelect",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.Insert",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.sql.Delete",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
},
{
"functionId": {
"className": "org.hibernate.loader.plan.exec.query.internal.SelectStatementBuilder",
"functionName": "toStatementString"
},
"version": [
"[,5.4.24.Final)"
]
}
],
"semver": {
"vulnerable": [
"[,5.4.24.Final)"
]
},
"mavenModuleName": {
"groupId": "org.hibernate",
"artifactId": "hibernate-core"
},
"severityWithCritical": "high",
"from": [
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]"
],
"upgradePath": [
false,
"org.hibernate:[email protected]"
],
"isUpgradable": true,
"isPatchable": false,
"name": "org.hibernate:hibernate-core",
"version": "4.3.7.Final"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"alternativeIds": [],
"creationTime": "2020-07-15T13:53:15.331818Z",
"credit": [
"Gail Badner"
],
"cvssScore": 8.1,
"description": "## Overview\n[org.hibernate:hibernate-core](https://github.com/hibernate/hibernate-orm) is a library providing Object/Relational Mapping (ORM) support to applications, libraries, and frameworks.\n\nAffected versions of this package are vulnerable to SQL Injection. A SQL injection in the implementation of the JPA Criteria API can permit unsanitized literals when a literal is used in the SELECT or GROUP BY parts of the query. This flaw could allow an attacker to access unauthorized information or possibly conduct further attacks.\n## Remediation\nUpgrade `org.hibernate:hibernate-core` to version 5.3.18.Final, 5.4.18.Final or higher.\n## References\n- [GitHub Pull Request](https://github.com/hibernate/hibernate-orm/pull/3438)\n- [Jira Ticket](https://hibernate.atlassian.net/browse/HHH-14077)\n",
"disclosureTime": "2020-06-18T13:46:30Z",
"exploit": "Not Defined",
"functions": [
{
"functionId": {
"filePath": "org/hibernate/query/criteria/internal/expression/LiteralExpression.java",
"className": "LiteralExpression",
"functionName": "renderProjection"
},
"version": [
"[5.1.18.Final ,5.4.18.Final)"
]
}
],
"fixedIn": [
"5.3.18.Final",
"5.4.18.Final"
],
"id": "SNYK-JAVA-ORGHIBERNATE-584563",
"identifiers": {
"CWE": [
"CWE-89"
],
"CVE": [
"CVE-2019-14900"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-07-18T12:57:02.888829Z",
"moduleName": "org.hibernate:hibernate-core",
"packageManager": "maven",
"packageName": "org.hibernate:hibernate-core",
"patches": [],
"proprietary": false,
"publicationTime": "2020-07-15T16:40:12Z",
"references": [
{
"title": "GitHub Pull Request",
"url": "https://github.com/hibernate/hibernate-orm/pull/3438"
},
{
"title": "Jira Ticket",
"url": "https://hibernate.atlassian.net/browse/HHH-14077"
}
],
"severity": "high",
"socialTrendAlert": false,
"title": "SQL Injection",
"insights": {
"triageAdvice": "This vulnerability is only applicable on systems using JPA Criteria API"
},
"cvssDetails": [
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
"cvssV3BaseScore": 6.5,
"severity": "medium",
"modificationTime": "2022-04-30T01:10:36.121203Z"
}
],
"functions_new": [
{
"functionId": {
"className": "org.hibernate.query.criteria.internal.expression.LiteralExpression",
"functionName": "renderProjection"
},
"version": [
"[5.1.18.Final ,5.4.18.Final)"
]
}
],
"semver": {
"vulnerable": [
"[,5.3.18.Final)",
"[5.4.0.Final, 5.4.18.Final)"
]
},
"mavenModuleName": {
"groupId": "org.hibernate",
"artifactId": "hibernate-core"
},
"severityWithCritical": "high",
"from": [
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]"
],
"upgradePath": [
false,
"org.hibernate:[email protected]"
],
"isUpgradable": true,
"isPatchable": false,
"name": "org.hibernate:hibernate-core",
"version": "4.3.7.Final"
},
{
"id": "snyk:lic:maven:org.hibernate:hibernate-core:LGPL-2.0",
"packageName": "org.hibernate:hibernate-core",
"semver": {
"vulnerable": [
"[3.3.0.CR1, 5.3.1.Final)"
]
},
"creationTime": "2022-09-05T04:17:50.339Z",
"description": "LGPL-2.0 license",
"language": "java",
"license": "LGPL-2.0",
"packageManager": "maven",
"publicationTime": "2022-09-05T04:17:50.339Z",
"title": "LGPL-2.0 license",
"type": "license",
"severity": "medium",
"severityWithCritical": "medium",
"from": [
"io.github.snyk:[email protected]",
"org.hibernate:[email protected]"
],
"upgradePath": [
false,
"org.hibernate:[email protected]"
],
"isUpgradable": true,
"isPatchable": false,
"name": "org.hibernate:hibernate-core",
"version": "4.3.7.Final"
},
{
"CVSSv3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"alternativeIds": [],
"creationTime": "2022-01-02T11:14:46.053186Z",
"credit": [
"Dennis Kennedy"
],
"cvssScore": 4.3,
"description": "## Overview\n[org.springframework:spring-core](http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22spring-core%22) is a core package within the spring-framework that contains multiple classes and utilities.\n\nAffected versions of this package are vulnerable to Improper Output Neutralization for Logs when a user provides malicious input, causing insertion of additional log entries.\n## Remediation\nUpgrade `org.springframework:spring-core` to version 5.3.12, 5.2.18 or higher.\n## References\n- [Github Commit](https://github.com/spring-projects/spring-framework/commit/346b75580267dc5d8d257be198d5841ce4e1add5)\n- [Pivotal Security Advisory](https://pivotal.io/security/cve-2021-22096)\n",
"disclosureTime": "2021-10-27T12:52:59Z",
"exploit": "Not Defined",
"functions": [],
"fixedIn": [
"5.3.12",
"5.2.18"
],
"id": "SNYK-JAVA-ORGSPRINGFRAMEWORK-2329097",
"identifiers": {
"CWE": [
"CWE-20"
],
"CVE": [
"CVE-2021-22096"
]
},
"language": "java",
"malicious": false,
"modificationTime": "2022-01-02T11:14:46.378072Z",
"moduleName": "org.springframework:spring-core",
"packageManager": "maven",
"packageName": "org.springframework:spring-core",
"patches": [],
"proprietary": false,
"publicationTime": "2021-10-27T16:55:13Z",
"references": [
{
"title": "Github Commit",
"url": "https://github.com/spring-projects/spring-framework/commit/346b75580267dc5d8d257be198d5841ce4e1add5"
},
{
"title": "Pivotal Security Advisory",
"url": "https://pivotal.io/security/cve-2021-22096"
}
],
"severity": "medium",
"socialTrendAlert": false,
"title": "Improper Output Neutralization for Logs",
"insights": {
"triageAdvice": null
},
"cvssDetails": [
{
"assigner": "NVD",
"cvssV3Vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
"cvssV3BaseScore": 4.3,
"severity": "medium",
"modificationTime": "2022-04-29T01:10:51.241222Z"
}
],
"functions_new": [],
"semver": {
"vulnerable": [
"[5.3.0,5.3.12)",
"[,5.2.18)"
]
},
"mavenModuleName": {
"groupId": "org.springframework",
"artifactId": "spring-core"
},
"severityWithCritical": "medium",
"from": [
"io.github.snyk:[email protected]",