prior_version stringlengths 69 33.8k | after_version stringlengths 27 34.8k | vuln_id stringlengths 13 19 | cwe_id stringclasses 137
values | score float64 0 10 | chain stringlengths 78 111 | dataset stringclasses 2
values | summary stringlengths 44 6.88k | published_date stringdate 2009-05-11 00:00:00 2022-08-11 00:00:00 | chain_len int64 1 1 | project stringlengths 26 59 | commit_href stringlengths 74 107 | commit_sha stringlengths 40 40 | patch stringclasses 1
value | chain_ord stringlengths 44 44 | before_first_fix_commit stringlengths 44 88 | last_fix_commit stringlengths 40 40 | chain_ord_pos int64 1 1 | commit_datetime stringlengths 20 20 | message stringlengths 2 8.66k | author stringlengths 2 44 | comments stringclasses 155
values | stats stringclasses 474
values | files listlengths 1 1 | file_extension stringclasses 14
values | cwe stringclasses 25
values | file_paths listlengths 1 1 | file_paths_str stringlengths 4 162 | num_files int64 1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } if (ci->cci > CINFO_NONE) { ci = cipop(mrb); mrb_gc_arena_restore(mrb, ai); mrb->c->vmexec = FALSE; mrb->exc = (struct RObject*)break_new(mrb, RBREAK_TAG_BREAK, proc, v); ... | mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) } if (ci->cci > CINFO_NONE) { ci = cipop(mrb); mrb->exc = (struct RObject*)break_new(mrb, RBREAK_TAG_BREAK, proc, v); mrb_gc_arena_restore(mrb, ai); mrb->c->vmexec = FALSE; ... | CVE-2022-1212 | {'CWE-416'} | 6.4 | {'https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6'} | nvd | Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited. | 2022-04-05 | 1 | https://github.com/mruby/mruby | https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6 | 3cf291f72224715942beaf8553e42ba8891ab3c6 | SINGLE | ['3cf291f72224715942beaf8553e42ba8891ab3c6'] | {'8aec568fc50c23f4062153fbc75b423ba22219e9'} | 3cf291f72224715942beaf8553e42ba8891ab3c6 | 1 | 04/04/2022, 03:26:52 | vm.c: create break object before clearing GC arena.
Otherwise it possibly cause use-after-free. | Yukihiro "Matz" Matsumoto | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -2268,9 +2268,9 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n }\n if (ci->cci > CINFO_NONE) {\n ci = cipop(mrb);\n+ mrb->exc = (struct RObject*)break_new(mrb, RBRE... | c | CWE-416 | [
"src/vm.c"
] | src/vm.c | 1 |
public UImageSvg(String svg, double scale) { this.scale = scale; } private String clean(String svg) { svg = svg.toLowerCase().replaceAll("\\s", ""); if (svg.contains("<script>")) return EMPTY_SVG; if (svg.contains("</script>")) return EMPTY_SVG; if (svg.contains("<foreignobject")) return EMPTY_SV... | public UImageSvg(String svg, double scale) { this.scale = scale; } private String clean(final String svg) { final String svg2 = svg.toLowerCase().replaceAll("\\s", ""); if (svg2.contains("<script>")) return EMPTY_SVG; if (svg2.contains("</script>")) return EMPTY_SVG; if (svg2.contains("<foreignobjec... | CVE-2022-1231 | {'CWE-79'} | 2.9 | {'https://github.com/plantuml/plantuml/commit/c9137be051ce98b3e3e27f65f54ec7d9f8886903'} | nvd | XSS via Embedded SVG in SVG Diagram Format in GitHub repository plantuml/plantuml prior to 1.2022.4. Stored XSS in the context of the diagram embedder. Depending on the actual context, this ranges from stealing secrets to account hijacking or even to code execution for example in desktop applications. Web based applica... | 2022-04-15 | 1 | https://github.com/plantuml/plantuml | https://github.com/plantuml/plantuml/commit/c9137be051ce98b3e3e27f65f54ec7d9f8886903 | c9137be051ce98b3e3e27f65f54ec7d9f8886903 | SINGLE | ['c9137be051ce98b3e3e27f65f54ec7d9f8886903'] | {'d8c80f411083e317807c2d256e2d6c79e224f305'} | c9137be051ce98b3e3e27f65f54ec7d9f8886903 | 1 | 04/07/2022, 17:07:38 | wip | Arnaud Roques | null | {'additions': 6, 'deletions': 6, 'total': 12} | [
{
"additions": 6,
"changes": 12,
"deletions": 6,
"patch": "@@ -52,15 +52,15 @@ public UImageSvg(String svg, double scale) {\n \t\tthis.scale = scale;\n \t}\n \n-\tprivate String clean(String svg) {\n-\t\tsvg = svg.toLowerCase().replaceAll(\"\\\\s\", \"\");\n-\t\tif (svg.contains(\"<script>\"))\n+\tp... | java | CWE-79 | [
"src/net/sourceforge/plantuml/ugraphic/UImageSvg.java"
] | src/net/sourceforge/plantuml/ugraphic/UImageSvg.java | 1 |
static void parse_relocation_info(struct MACH0_(obj_t) *bin, RSkipList *relocs, for (i = 0; i < num; i++) { struct relocation_info a_info = info[i]; ut32 sym_num = a_info.r_symbolnum; if (sym_num > bin->nsymtab) { continue; } | static void parse_relocation_info(struct MACH0_(obj_t) *bin, RSkipList *relocs, for (i = 0; i < num; i++) { struct relocation_info a_info = info[i]; ut32 sym_num = a_info.r_symbolnum; if (sym_num >= bin->nsymtab) { continue; } | CVE-2022-1240 | {'CWE-787'} | 6.4 | {'https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4'} | nvd | Heap buffer overflow in libr/bin/format/mach0/mach0.c in GitHub repository radareorg/radare2 prior to 5.8.6. If address sanitizer is disabled during the compiling, the program should executes into the `r_str_ncpy` function. Therefore I think it is very likely to be exploitable. For more general description of heap buff... | 2022-04-06 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/ca8d8b39f3e34a4fd943270330b80f1148129de4 | ca8d8b39f3e34a4fd943270330b80f1148129de4 | SINGLE | ['ca8d8b39f3e34a4fd943270330b80f1148129de4'] | {'a4dbf115b19bc9a151b241de5f9388e159fd302c'} | ca8d8b39f3e34a4fd943270330b80f1148129de4 | 1 | 04/05/2022, 09:52:32 | Fix oobread in the macho parser ##crash
* Reported by @Han0nly via huntr.dev
* Reproducers: heapoverflow1
* BountyID: e589bd97-4c74-4e79-93b5-0951a281facc | pancake | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -3178,7 +3178,7 @@ static void parse_relocation_info(struct MACH0_(obj_t) *bin, RSkipList *relocs,\n \tfor (i = 0; i < num; i++) {\n \t\tstruct relocation_info a_info = info[i];\n \t\tut32 sym_num = a_info.r_symbolnum;\n-\t\tif (sym_num > ... | c | CWE-787 | [
"libr/bin/format/mach0/mach0.c"
] | libr/bin/format/mach0/mach0.c | 1 |
gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) } } if (tree->cdr->car) { /* keyword arguments */ if (n == 14) { pop_n(n); genop_2(s, OP_ARRAY, cursp(), n); push(); | gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val) } } if (tree->cdr->car) { /* keyword arguments */ if (n == 13 || n == 14) { pop_n(n); genop_2(s, OP_ARRAY, cursp(), n); push(); | CVE-2022-1276 | {'CWE-125'} | 6.4 | {'https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6'} | nvd | Out-of-bounds Read in mrb_get_args in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited. | 2022-04-10 | 1 | https://github.com/mruby/mruby | https://github.com/mruby/mruby/commit/c8c083cb750606b2da81582cd8e43b442bb143e6 | c8c083cb750606b2da81582cd8e43b442bb143e6 | SINGLE | ['c8c083cb750606b2da81582cd8e43b442bb143e6'] | {'55b526167b2d52d113f013b6f0c14ff9aa64c1a1'} | c8c083cb750606b2da81582cd8e43b442bb143e6 | 1 | 04/08/2022, 08:51:13 | codegen.c: need to pack argument when `n==13` too.
Because we have extra 2 arguments coming (kw and rhs). | Yukihiro "Matz" Matsumoto | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -1905,7 +1905,7 @@ gen_assignment(codegen_scope *s, node *tree, node *rhs, int sp, int val)\n }\n }\n if (tree->cdr->car) { /* keyword arguments */\n- if (n == 14) {\n+ if (n == 13 || n == ... | c | CWE-125 | [
"mrbgems/mruby-compiler/core/codegen.c"
] | mrbgems/mruby-compiler/core/codegen.c | 1 |
RList *r_bin_ne_get_symbols(r_bin_ne_obj_t *bin) { } RList *entries = r_bin_ne_get_entrypoints (bin); bool resident = true, first = true; while (true) { ut8 sz = r_buf_read8_at (bin->buf, off); if (!sz) { first = true; RList *r_bin_ne_get_imports(r_bin_ne_obj_t *bin) { } RList *r_bin_ne_get_entrypoints(r_b... | RList *r_bin_ne_get_symbols(r_bin_ne_obj_t *bin) { } RList *entries = r_bin_ne_get_entrypoints (bin); bool resident = true, first = true; while (entries) { ut8 sz = r_buf_read8_at (bin->buf, off); if (!sz) { first = true; RList *r_bin_ne_get_imports(r_bin_ne_obj_t *bin) { } RList *r_bin_ne_get_entrypoints(... | CVE-2022-1283 | {'CWE-476'} | 2.9 | {'https://github.com/radareorg/radare2/commit/18d1d064bf599a255d55f09fca3104776fc34a67'} | nvd | NULL Pointer Dereference in r_bin_ne_get_entrypoints function in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability allows attackers to cause a denial of service (application crash). | 2022-04-08 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/18d1d064bf599a255d55f09fca3104776fc34a67 | 18d1d064bf599a255d55f09fca3104776fc34a67 | SINGLE | ['18d1d064bf599a255d55f09fca3104776fc34a67'] | {'2b77b277d67ce061ee6ef839e7139ebc2103c1e3'} | 18d1d064bf599a255d55f09fca3104776fc34a67 | 1 | 04/08/2022, 17:49:21 | Fix null deref in the ne parser ##crash
* Reported by @hmsec via huntr.dev
* Reproducer: nepoc00
* BountyID: bfeb8fb8-644d-4587-80d4-cb704c404013 | Sergi Àlvarez i Capilla | null | {'additions': 4, 'deletions': 1, 'total': 5} | [
{
"additions": 4,
"changes": 5,
"deletions": 1,
"patch": "@@ -115,7 +115,7 @@ RList *r_bin_ne_get_symbols(r_bin_ne_obj_t *bin) {\n \t}\n \tRList *entries = r_bin_ne_get_entrypoints (bin);\n \tbool resident = true, first = true;\n-\twhile (true) {\n+\twhile (entries) {\n \t\tut8 sz = r_buf_read8_at (... | c | CWE-476 | [
"libr/bin/format/ne/ne.c"
] | libr/bin/format/ne/ne.c | 1 |
R_API void r_core_anal_esil(RCore *core, const char *str, const char *target) { arch = R2_ARCH_MIPS; } const char *sn = r_reg_get_name (core->anal->reg, R_REG_NAME_SN); if (!sn) { eprintf ("Warning: No SN reg alias for current architecture.\n"); } r_reg_arena_push (core->anal->reg); IterCtx ictx = { start,... | R_API void r_core_anal_esil(RCore *core, const char *str, const char *target) { arch = R2_ARCH_MIPS; } r_reg_arena_push (core->anal->reg); IterCtx ictx = { start, end, fcn, NULL }; R_API void r_core_anal_esil(RCore *core, const char *str, const char *target) { goto repeat; } } const char *sn = r_reg_... | CVE-2022-1284 | {'CWE-416'} | 2.9 | {'https://github.com/radareorg/radare2/commit/64a82e284dddabaeb549228380103b57dead32a6'} | nvd | heap-use-after-free in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability is capable of inducing denial of service. | 2022-04-08 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/64a82e284dddabaeb549228380103b57dead32a6 | 64a82e284dddabaeb549228380103b57dead32a6 | SINGLE | ['64a82e284dddabaeb549228380103b57dead32a6'] | {'6d5628cd96f62524f004df4209380786baf95860'} | 64a82e284dddabaeb549228380103b57dead32a6 | 1 | 04/08/2022, 18:39:43 | Fix UAF in `aaef` ##crash
* Reported by @hdthky
* Reproducer: uaf-aef
* BountyID: e98ad92c-3a64-48fb-84d4-d13afdbcbdd7 | Sergi Àlvarez i Capilla | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -5295,10 +5295,6 @@ R_API void r_core_anal_esil(RCore *core, const char *str, const char *target) {\n \t\tarch = R2_ARCH_MIPS;\n \t}\n \n-\tconst char *sn = r_reg_get_name (core->anal->reg, R_REG_NAME_SN);\n-\tif (!sn) {\n-\t\teprintf (\"W... | c | CWE-416 | [
"libr/core/canal.c"
] | libr/core/canal.c | 1 |
mrb_remove_method(mrb_state *mrb, struct RClass *c, mrb_sym mid) MRB_CLASS_ORIGIN(c); h = c->mt; if (h && mt_del(mrb, h, mid)) return; mrb_name_error(mrb, mid, "method '%n' not defined in %C", mid, c); } | mrb_remove_method(mrb_state *mrb, struct RClass *c, mrb_sym mid) MRB_CLASS_ORIGIN(c); h = c->mt; if (h && mt_del(mrb, h, mid)) { mrb_mc_clear_by_class(mrb, c); return; } mrb_name_error(mrb, mid, "method '%n' not defined in %C", mid, c); } | CVE-2022-1286 | {'CWE-787'} | 6.4 | {'https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9'} | nvd | heap-buffer-overflow in mrb_vm_exec in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited. | 2022-04-10 | 1 | https://github.com/mruby/mruby | https://github.com/mruby/mruby/commit/b1d0296a937fe278239bdfac840a3fd0e93b3ee9 | b1d0296a937fe278239bdfac840a3fd0e93b3ee9 | SINGLE | ['b1d0296a937fe278239bdfac840a3fd0e93b3ee9'] | {'c30e6ebe1200962d37751255ca489defd96819d6'} | b1d0296a937fe278239bdfac840a3fd0e93b3ee9 | 1 | 04/09/2022, 00:25:35 | class.c: clear method cache after `remove_method`. | Yukihiro "Matz" Matsumoto | null | {'additions': 4, 'deletions': 1, 'total': 5} | [
{
"additions": 4,
"changes": 5,
"deletions": 1,
"patch": "@@ -2361,7 +2361,10 @@ mrb_remove_method(mrb_state *mrb, struct RClass *c, mrb_sym mid)\n MRB_CLASS_ORIGIN(c);\n h = c->mt;\n \n- if (h && mt_del(mrb, h, mid)) return;\n+ if (h && mt_del(mrb, h, mid)) {\n+ mrb_mc_clear_by_class(mrb, ... | c | CWE-787 | [
"src/class.c"
] | src/class.c | 1 |
RList *r_bin_ne_get_entrypoints(r_bin_ne_obj_t *bin) { off += 2; ut8 segnum = *(bin->entry_table + off); off++; ut16 segoff = *(ut16 *)(bin->entry_table + off); if (segnum > 0) { entry->paddr = (ut64)bin->segment_entries[segnum - 1].offset * bin->alignment + segoff; } } else { // Fixed ... | RList *r_bin_ne_get_entrypoints(r_bin_ne_obj_t *bin) { off += 2; ut8 segnum = *(bin->entry_table + off); off++; if (off > bin->ne_header->EntryTableLength) { break; } ut16 segoff = r_read_le16 (bin->entry_table + off); if (segnum > 0 && segnum < bin->ne_header->SegCount) { entry->... | CVE-2022-1297 | {'CWE-125'} | 4.9 | {'https://github.com/radareorg/radare2/commit/0a557045476a2969c7079aec9eeb29d02f2809c6'} | nvd | Out-of-bounds Read in r_bin_ne_get_entrypoints function in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability may allow attackers to read sensitive information or cause a crash. | 2022-04-11 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/0a557045476a2969c7079aec9eeb29d02f2809c6 | 0a557045476a2969c7079aec9eeb29d02f2809c6 | SINGLE | ['0a557045476a2969c7079aec9eeb29d02f2809c6'] | {'6d0bf405ac705d4a31cbe436caa44c00898fc85f'} | 0a557045476a2969c7079aec9eeb29d02f2809c6 | 1 | 04/11/2022, 11:35:52 | Fix oobread and unaligned casts in the NE entrypoint logic ##crash
* Reported by @hmsec via huntr.dev
* Reproducer: nepocaligns
* BountyID: ec538fa4-06c6-4050-a141-f60153ddeaac | pancake | null | {'additions': 10, 'deletions': 3, 'total': 13} | [
{
"additions": 10,
"changes": 13,
"deletions": 3,
"patch": "@@ -408,14 +408,21 @@ RList *r_bin_ne_get_entrypoints(r_bin_ne_obj_t *bin) {\n \t\t\t\toff += 2;\n \t\t\t\tut8 segnum = *(bin->entry_table + off);\n \t\t\t\toff++;\n-\t\t\t\tut16 segoff = *(ut16 *)(bin->entry_table + off);\n-\t\t\t\tif (seg... | c | CWE-125 | [
"libr/bin/format/ne/ne.c"
] | libr/bin/format/ne/ne.c | 1 |
void get_cmdln_options(int argc, char *argv[]) { pwd_entry=getpwuid(getuid()); if (pwd_entry!=NULL) { str=(char*)malloc(strlen(pwd_entry->pw_dir)+14); snprintf(str,strlen(pwd_entry->pw_dir)+14,"%s/.bwm-ng.conf",pwd_entry->pw_dir); read_config(str); free(s... | void get_cmdln_options(int argc, char *argv[]) { pwd_entry=getpwuid(getuid()); if (pwd_entry!=NULL) { str=(char*)malloc(strlen(pwd_entry->pw_dir)+14); if(!str) { printf("Fatal: failed to allocate %zu bytes.\n", strlen(pwd_entry->pw_dir)+14); exit(EXIT... | CVE-2022-1341 | {'CWE-476'} | 2.9 | {'https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17'} | nvd | An issue was discovered in in bwm-ng v0.6.2. An arbitrary null write exists in get_cmdln_options() function in src/options.c. | 2022-04-18 | 1 | https://github.com/vgropp/bwm-ng | https://github.com/vgropp/bwm-ng/commit/9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17 | 9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17 | SINGLE | ['9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17'] | {'b81da650bf5269b77c2452ebd3017d297e806cd4'} | 9774f23bf78a6e6d3ae4cfe3d73bad34f2fdcd17 | 1 | 07/27/2020, 07:25:09 | Fix https://github.com/vgropp/bwm-ng/issues/26 | Oliver Falk | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -335,6 +335,10 @@ void get_cmdln_options(int argc, char *argv[]) {\n pwd_entry=getpwuid(getuid());\n if (pwd_entry!=NULL) {\n str=(char*)malloc(strlen(pwd_entry->pw_dir)+14);\n+ if(!str) {\n+ ... | c | CWE-476 | [
"src/options.c"
] | src/options.c | 1 |
static char *__func_name_from_ord(const char *module, ut16 ordinal) { RList *r_bin_ne_get_segments(r_bin_ne_obj_t *bin) { int i; if (!bin) { return NULL; } RList *segments = r_list_newf (free); | static char *__func_name_from_ord(const char *module, ut16 ordinal) { RList *r_bin_ne_get_segments(r_bin_ne_obj_t *bin) { int i; if (!bin || !bin->segment_entries) { return NULL; } RList *segments = r_list_newf (free); | CVE-2022-1382 | {'CWE-476'} | 6.9 | {'https://github.com/radareorg/radare2/commit/48f0ea79f99174fb0a62cb2354e13496ce5b7c44'} | nvd | NULL Pointer Dereference in GitHub repository radareorg/radare2 prior to 5.6.8. This vulnerability is capable of making the radare2 crash, thus affecting the availability of the system. | 2022-04-18 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/48f0ea79f99174fb0a62cb2354e13496ce5b7c44 | 48f0ea79f99174fb0a62cb2354e13496ce5b7c44 | SINGLE | ['48f0ea79f99174fb0a62cb2354e13496ce5b7c44'] | {'9540cb5279e601807c30cac3d22b69e7b23af110'} | 48f0ea79f99174fb0a62cb2354e13496ce5b7c44 | 1 | 04/16/2022, 22:38:35 | Fix null deref in ne parser ##crash
* Reported by @cnitlrt via huntr.dev
* BountyID: d8b6d239-6d7b-4783-b26b-5be848c01aa1/
* Reproducer: nenull | pancake | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -77,7 +77,7 @@ static char *__func_name_from_ord(const char *module, ut16 ordinal) {\n \n RList *r_bin_ne_get_segments(r_bin_ne_obj_t *bin) {\n \tint i;\n-\tif (!bin) {\n+\tif (!bin || !bin->segment_entries) {\n \t\treturn NULL;\n \t}\n \t... | c | CWE-476 | [
"libr/bin/format/ne/ne.c"
] | libr/bin/format/ne/ne.c | 1 |
RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut sect->vaddr += page_zero_size; } cursor += word_size; if (cursor >= end) { break; } sect->size = r_read_ble (cursor, false, bits); cursor += word_size; if (cursor >= end) { break; } ut64 sect_name_of... | RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut sect->vaddr += page_zero_size; } cursor += word_size; if (cursor + word_size >= end) { break; } sect->size = r_read_ble (cursor, false, bits); cursor += word_size; if (cursor + word_size >= end) { break; ... | CVE-2022-1383 | {'CWE-787'} | 4.9 | {'https://github.com/radareorg/radare2/commit/1dd65336f0f0c351d6ea853efcf73cf9c0030862'} | nvd | Heap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.6.8. The bug causes the program reads data past the end of the intented buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. | 2022-04-18 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/1dd65336f0f0c351d6ea853efcf73cf9c0030862 | 1dd65336f0f0c351d6ea853efcf73cf9c0030862 | SINGLE | ['1dd65336f0f0c351d6ea853efcf73cf9c0030862'] | {'a58b8d4e2e3c084ec5093bd96d3283e2a99d2fec'} | 1dd65336f0f0c351d6ea853efcf73cf9c0030862 | 1 | 04/16/2022, 23:06:07 | Fix oobread bug in NE parser ##crash
* Reported by @cnitlrt via huntrdev
* BountyID: 02b4b563-b946-4343-9092-38d1c5cd60c9
* Reproducer: neoobread | pancake | null | {'additions': 7, 'deletions': 3, 'total': 10} | [
{
"additions": 7,
"changes": 10,
"deletions": 3,
"patch": "@@ -274,12 +274,12 @@ RCoreSymCacheElement *r_coresym_cache_element_new(RBinFile *bf, RBuffer *buf, ut\n \t\t\t\tsect->vaddr += page_zero_size;\n \t\t\t}\n \t\t\tcursor += word_size;\n-\t\t\tif (cursor >= end) {\n+\t\t\tif (cursor + word_siz... | c | CWE-787 | [
"libr/bin/format/mach0/coresymbolication.c"
] | libr/bin/format/mach0/coresymbolication.c | 1 |
mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) mrb_exc_set(mrb, exc); goto L_RAISE; } if (target_class->flags & MRB_FL_CLASS_IS_PREPENDED) { target_class = mrb_vm_ci_target_class(ci); } else if (target_class->tt == MRB_TT_MODULE) { targ... | mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc) mrb_exc_set(mrb, exc); goto L_RAISE; } if ((target_class->flags & MRB_FL_CLASS_IS_PREPENDED) || target_class->tt == MRB_TT_MODULE) { target_class = mrb_vm_ci_target_class(ci); if (!target_class || targ... | CVE-2022-1427 | {'CWE-125'} | 6.4 | {'https://github.com/mruby/mruby/commit/a4d97934d51cb88954cc49161dc1d151f64afb6b'} | nvd | Out-of-bounds Read in mrb_obj_is_kind_of in in GitHub repository mruby/mruby prior to 3.2. # Impact: Possible arbitrary code execution if being exploited. | 2022-04-23 | 1 | https://github.com/mruby/mruby | https://github.com/mruby/mruby/commit/a4d97934d51cb88954cc49161dc1d151f64afb6b | a4d97934d51cb88954cc49161dc1d151f64afb6b | SINGLE | ['a4d97934d51cb88954cc49161dc1d151f64afb6b'] | {'bdc244e9b035c608e3aeb1cb3440c47c2a5d61e6'} | a4d97934d51cb88954cc49161dc1d151f64afb6b | 1 | 04/21/2022, 23:32:18 | vm.c: check if target_class is NULL (when prepended). | Yukihiro "Matz" Matsumoto | null | {'additions': 1, 'deletions': 4, 'total': 5} | [
{
"additions": 1,
"changes": 5,
"deletions": 4,
"patch": "@@ -1750,10 +1750,7 @@ mrb_vm_exec(mrb_state *mrb, const struct RProc *proc, const mrb_code *pc)\n mrb_exc_set(mrb, exc);\n goto L_RAISE;\n }\n- if (target_class->flags & MRB_FL_CLASS_IS_PREPENDED) {\n- targe... | c | CWE-125 | [
"src/vm.c"
] | src/vm.c | 1 |
void diST_box_del(GF_Box *s) GF_Err diST_box_read(GF_Box *s, GF_BitStream *bs) { u32 i; char str[1024]; GF_DIMSScriptTypesBox *p = (GF_DIMSScriptTypesBox *)s; i=0; str[0]=0; while (1) { str[i] = gf_bs_read_u8(bs); if (!str[i]) break; i++; } ISOM_DECREASE_SIZE(p, i); p->content_script_types = gf_strdu... | void diST_box_del(GF_Box *s) GF_Err diST_box_read(GF_Box *s, GF_BitStream *bs) { GF_DIMSScriptTypesBox *p = (GF_DIMSScriptTypesBox *)s; p->content_script_types = gf_malloc(sizeof(char) * (s->size+1)); if (!p->content_script_types) return GF_OUT_OF_MEM; gf_bs_read_data(bs, p->content_script_types, s->size); p->c... | CVE-2022-1441 | {'CWE-119'} | 6.4 | {'https://github.com/gpac/gpac/commit/3dbe11b37d65c8472faf0654410068e5500b3adb'} | nvd | MP4Box is a component of GPAC-2.0.0, which is a widely-used third-party package on RPM Fusion. When MP4Box tries to parse a MP4 file, it calls the function `diST_box_read()` to read from video. In this function, it allocates a buffer `str` with fixed length. However, content read from `bs` is controllable by user, so i... | 2022-04-25 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/3dbe11b37d65c8472faf0654410068e5500b3adb | 3dbe11b37d65c8472faf0654410068e5500b3adb | SINGLE | ['3dbe11b37d65c8472faf0654410068e5500b3adb'] | {'1773b7a34bc08734aee7d3f5dfe65d06389fe15a'} | 3dbe11b37d65c8472faf0654410068e5500b3adb | 1 | 04/19/2022, 07:15:58 | fixed #2175 | jeanlf | null | {'additions': 4, 'deletions': 12, 'total': 16} | [
{
"additions": 4,
"changes": 16,
"deletions": 12,
"patch": "@@ -1128,20 +1128,12 @@ void diST_box_del(GF_Box *s)\n \n GF_Err diST_box_read(GF_Box *s, GF_BitStream *bs)\n {\n-\tu32 i;\n-\tchar str[1024];\n \tGF_DIMSScriptTypesBox *p = (GF_DIMSScriptTypesBox *)s;\n \n-\ti=0;\n-\tstr[0]=0;\n-\twhile (1... | c | CWE-119 | [
"src/isomedia/box_code_3gpp.c"
] | src/isomedia/box_code_3gpp.c | 1 |
R_API bool r_crbtree_insert(RRBTree *tree, void *data, RRBComparator cmp, void * r_return_val_if_fail (tree && data && cmp, false); bool inserted = false; if (tree->root == NULL) { tree->root = _node_new (data, NULL); if (tree->root == NULL) { return false; } inserted = true; | R_API bool r_crbtree_insert(RRBTree *tree, void *data, RRBComparator cmp, void * r_return_val_if_fail (tree && data && cmp, false); bool inserted = false; if (!tree->root) { tree->root = _node_new (data, NULL); if (!tree->root) { return false; } inserted = true; | CVE-2022-1444 | {'CWE-416'} | 2.9 | {'https://github.com/radareorg/radare2/commit/14189710859c27981adb4c2c2aed2863c1859ec5'} | nvd | heap-use-after-free in GitHub repository radareorg/radare2 prior to 5.7.0. This vulnerability is capable of inducing denial of service. | 2022-04-23 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/14189710859c27981adb4c2c2aed2863c1859ec5 | 14189710859c27981adb4c2c2aed2863c1859ec5 | SINGLE | ['14189710859c27981adb4c2c2aed2863c1859ec5'] | {'dfeb6b04036db241db8971e0bc5b68f444ace082'} | 14189710859c27981adb4c2c2aed2863c1859ec5 | 1 | 04/23/2022, 00:36:51 | Redo minor cleanup in new_rbtree | condret | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -138,9 +138,9 @@ R_API bool r_crbtree_insert(RRBTree *tree, void *data, RRBComparator cmp, void *\n \tr_return_val_if_fail (tree && data && cmp, false);\n \tbool inserted = false;\n \n-\tif (tree->root == NULL) {\n+\tif (!tree->root) {\n \... | c | CWE-416 | [
"libr/util/new_rbtree.c"
] | libr/util/new_rbtree.c | 1 |
R_API RBinJavaAttrInfo *r_bin_java_get_attr_from_field(RBinJavaField *field, R_B } R_API ut8 *r_bin_java_get_attr_buf(RBinJavaObj *bin, ut64 sz, const ut64 offset, const ut8 *buf, const ut64 len) { ut8 *attr_buf = NULL; int pending = len - offset; const ut8 *a_buf = offset + buf; attr_buf = (ut8 *) calloc (pendin... | R_API RBinJavaAttrInfo *r_bin_java_get_attr_from_field(RBinJavaField *field, R_B } R_API ut8 *r_bin_java_get_attr_buf(RBinJavaObj *bin, ut64 sz, const ut64 offset, const ut8 *buf, const ut64 len) { // XXX this pending is wrong and too expensive int pending = len - offset; const ut8 *a_buf = offset + buf; ut8 *att... | CVE-2022-1451 | {'CWE-125'} | 4.9 | {'https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529'} | nvd | Out-of-bounds Read in r_bin_java_constant_value_attr_new function in GitHub repository radareorg/radare2 prior to 5.7.0. The bug causes the program reads data past the end 2f the intented buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. More details... | 2022-04-24 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/0927ed3ae99444e7b47b84e43118deb10fe37529 | 0927ed3ae99444e7b47b84e43118deb10fe37529 | SINGLE | ['0927ed3ae99444e7b47b84e43118deb10fe37529'] | {'14189710859c27981adb4c2c2aed2863c1859ec5'} | 0927ed3ae99444e7b47b84e43118deb10fe37529 | 1 | 04/24/2022, 19:09:17 | Fix oobread crash in java parser ##crash
* Reported by @bet4it via @huntrdev
* BountyID: 229a2e0d-9e5c-402f-9a24-57fa2eb1aaa7
* Reproducer: poc4java | pancake | null | {'additions': 9, 'deletions': 5, 'total': 14} | [
{
"additions": 9,
"changes": 14,
"deletions": 5,
"patch": "@@ -1957,10 +1957,10 @@ R_API RBinJavaAttrInfo *r_bin_java_get_attr_from_field(RBinJavaField *field, R_B\n }\n \n R_API ut8 *r_bin_java_get_attr_buf(RBinJavaObj *bin, ut64 sz, const ut64 offset, const ut8 *buf, const ut64 len) {\n-\tut8 *att... | c | CWE-125 | [
"shlr/java/class.c"
] | shlr/java/class.c | 1 |
R_API RBinJavaAttrInfo *r_bin_java_bootstrap_methods_attr_new(RBinJavaObj *bin, offset += 6; if (attr) { attr->type = R_BIN_JAVA_ATTR_TYPE_BOOTSTRAP_METHODS_ATTR; attr->info.bootstrap_methods_attr.num_bootstrap_methods = R_BIN_JAVA_USHORT (buffer, offset); offset += 2; attr->info.bootstrap_methods_attr.boots... | R_API RBinJavaAttrInfo *r_bin_java_bootstrap_methods_attr_new(RBinJavaObj *bin, offset += 6; if (attr) { attr->type = R_BIN_JAVA_ATTR_TYPE_BOOTSTRAP_METHODS_ATTR; if (offset + 8 > sz) { free (attr); return NULL; } attr->info.bootstrap_methods_attr.num_bootstrap_methods = R_BIN_JAVA_USHORT (buffer, off... | CVE-2022-1452 | {'CWE-125'} | 4.9 | {'https://github.com/radareorg/radare2/commit/ecc44b6a2f18ee70ac133365de0e509d26d5e168'} | nvd | Out-of-bounds Read in r_bin_java_bootstrap_methods_attr_new function in GitHub repository radareorg/radare2 prior to 5.7.0. The bug causes the program reads data past the end 2f the intented buffer. Typically, this can allow attackers to read sensitive information from other memory locations or cause a crash. More deta... | 2022-04-24 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/ecc44b6a2f18ee70ac133365de0e509d26d5e168 | ecc44b6a2f18ee70ac133365de0e509d26d5e168 | SINGLE | ['ecc44b6a2f18ee70ac133365de0e509d26d5e168'] | {'0927ed3ae99444e7b47b84e43118deb10fe37529'} | ecc44b6a2f18ee70ac133365de0e509d26d5e168 | 1 | 04/24/2022, 19:15:25 | Fix oobread in java parser ##crash
* Reported by @bet4it via @huntrdev
* BountyID c8f4c2de-7d96-4ad4-857a-c099effca2d6
* Reproducer: bootstrap.class | pancake | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -6933,6 +6933,10 @@ R_API RBinJavaAttrInfo *r_bin_java_bootstrap_methods_attr_new(RBinJavaObj *bin,\n \toffset += 6;\n \tif (attr) {\n \t\tattr->type = R_BIN_JAVA_ATTR_TYPE_BOOTSTRAP_METHODS_ATTR;\n+\t\tif (offset + 8 > sz) {\n+\t\t\tfree... | c | CWE-125 | [
"shlr/java/class.c"
] | shlr/java/class.c | 1 |
</form> </div> <script> //dislpay file name $(".custom-file-input").on("change", function() { var fileName = $(this).val().split("\\").pop(); $(this).siblings(".custom-file-label").addClass("selected").html(fileName); }); </script> </body> | </form> </div> <script> //display file name $(".custom-file-input").on("change", function() { var fileName = $(this).val().split("\\").pop(); $(this).siblings(".custom-file-label").addClass("selected").html(jsText(fileName)); }); </script> </body> | CVE-2022-1458 | {'CWE-79'} | 2.9 | {'https://github.com/openemr/openemr/commit/31f08005e53b17d1bc921d23f7ee774930ad416d'} | nvd | Stored XSS Leads To Session Hijacking in GitHub repository openemr/openemr prior to 6.1.0.1. | 2022-04-25 | 1 | https://github.com/openemr/openemr | https://github.com/openemr/openemr/commit/31f08005e53b17d1bc921d23f7ee774930ad416d | 31f08005e53b17d1bc921d23f7ee774930ad416d | SINGLE | ['31f08005e53b17d1bc921d23f7ee774930ad416d'] | {'af8148ab1838717722f3f124e4dc976b3d72c895'} | 31f08005e53b17d1bc921d23f7ee774930ad416d | 1 | 03/28/2022, 05:23:17 | bug fix (#5047) | Brady Miller | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -221,10 +221,10 @@\n </form>\n </div>\n <script>\n- //dislpay file name\n+ //display file name\n $(\".custom-file-input\").on(\"change\", function() {\n var fileName = $(this).val().split(\"\\\\\... | php | CWE-79 | [
"interface/super/manage_document_templates.php"
] | interface/super/manage_document_templates.php | 1 |
gif_internal_decode_frame(gif_animation *gif, unsigned int x, y, decode_y, burst_bytes; register unsigned char colour; /* Ensure this frame is supposed to be decoded */ if (gif->frames[frame].display == false) { return GIF_OK; | gif_internal_decode_frame(gif_animation *gif, unsigned int x, y, decode_y, burst_bytes; register unsigned char colour; /* If the GIF has no frame data, frame holders will not be allocated in * gif_initialise() */ if (gif->frames == NULL) { return GIF_INSUFFICIE... | CVE-2022-1507 | {'CWE-476'} | 2.9 | {'https://github.com/hpjansson/chafa/commit/e4b777c7b7c144cd16a0ea96108267b1004fe6c9'} | nvd | chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows attackers to cause a denial of service (crash) via a crafted input file. in GitHub repository hpjansson/chafa prior to 1.10.2. chafa: NULL Pointer Dereference in function gif_internal_decode_frame at libnsgif.c:599 allows att... | 2022-04-27 | 1 | https://github.com/hpjansson/chafa | https://github.com/hpjansson/chafa/commit/e4b777c7b7c144cd16a0ea96108267b1004fe6c9 | e4b777c7b7c144cd16a0ea96108267b1004fe6c9 | SINGLE | ['e4b777c7b7c144cd16a0ea96108267b1004fe6c9'] | {'864500882cb2d22993522957e26ab56727183010'} | e4b777c7b7c144cd16a0ea96108267b1004fe6c9 | 1 | 04/24/2022, 21:56:53 | libnsgif: Fix null pointer deref on frameless GIF input
A crafted GIF file with no frame data could cause a null pointer
dereference leading to denial of service (crash). Reported by
@JieyongMa via huntr.dev. | Hans Petter Jansson | null | {'additions': 6, 'deletions': 0, 'total': 6} | [
{
"additions": 6,
"changes": 6,
"deletions": 0,
"patch": "@@ -595,6 +595,12 @@ gif_internal_decode_frame(gif_animation *gif,\n unsigned int x, y, decode_y, burst_bytes;\n register unsigned char colour;\n \n+ /* If the GIF has no frame data, frame holders will not be allocated ... | c | CWE-476 | [
"libnsgif/libnsgif.c"
] | libnsgif/libnsgif.c | 1 |
def load(): database_name = f"{autocomplete_filepath}{os.path.sep}{RTXConfig.autocomplete_path.split('/')[-1]}" conn = sqlite3.connect(database_name) cursor = conn.cursor() return True def get_nodes_like(word,requested_limit): if len(word) < 2: return values floor = word[:-1] cei... | def load(): database_name = f"{autocomplete_filepath}{os.path.sep}{RTXConfig.autocomplete_path.split('/')[-1]}" conn = sqlite3.connect(database_name) cursor = conn.cursor() #print(f"INFO: Connected to {database_name}",file=sys.stderr) return True def get_nodes_like(word,requested_limit): if l... | CVE-2022-1531 | {'CWE-89'} | 10 | {'https://github.com/rtxteam/rtx/commit/fa2797e656e3dba18f990a2db1f0f029d41f1921'} | nvd | SQL injection vulnerability in ARAX-UI Synonym Lookup functionality in GitHub repository rtxteam/rtx prior to checkpoint_2022-04-20 . This vulnerability is critical as it can lead to remote code execution and thus complete server takeover. | 2022-04-29 | 1 | https://github.com/rtxteam/rtx | https://github.com/rtxteam/rtx/commit/fa2797e656e3dba18f990a2db1f0f029d41f1921 | fa2797e656e3dba18f990a2db1f0f029d41f1921 | SINGLE | ['fa2797e656e3dba18f990a2db1f0f029d41f1921'] | {'12b9fa79bbe71299dfe3e9211239b381153014df'} | fa2797e656e3dba18f990a2db1f0f029d41f1921 | 1 | 04/20/2022, 18:38:35 | avoid SQL injection exploits | Eric Deutsch | {'com_1': {'author': 'dkoslicki', 'datetime': '04/20/2022, 19:34:13', 'body': 'Should we use query parameters/substitution variables instead? Since otherwise we would need to anticipate all special characters, right? (disclaimer: Not my area of expertise)'}, 'com_2': {'author': 'dkoslicki', 'datetime': '04/20/2022, 19:... | {'additions': 10, 'deletions': 2, 'total': 12} | [
{
"additions": 10,
"changes": 12,
"deletions": 2,
"patch": "@@ -23,6 +23,7 @@ def load():\n database_name = f\"{autocomplete_filepath}{os.path.sep}{RTXConfig.autocomplete_path.split('/')[-1]}\"\n conn = sqlite3.connect(database_name)\n cursor = conn.cursor()\n+ #print(f\"INFO: Connect... | py | CWE-89 | [
"code/autocomplete/rtxcomplete.py"
] | code/autocomplete/rtxcomplete.py | 1 |
void MACH0_(iterate_chained_fixups)(struct MACH0_(obj_t) *bin, ut64 limit_start, if (page_idx >= bin->chained_starts[i]->page_count) { break; } ut16 page_start = bin->chained_starts[i]->page_start[page_idx]; if (page_start == DYLD_CHAINED_PTR_START_NONE) { continue; | void MACH0_(iterate_chained_fixups)(struct MACH0_(obj_t) *bin, ut64 limit_start, if (page_idx >= bin->chained_starts[i]->page_count) { break; } if (!bin->chained_starts[i]->page_start) { break; } ut16 page_start = bin->chained_starts[i]->page_start[page_idx]; if (page_start == DYLD_CH... | CVE-2022-1649 | {'CWE-787'} | 2.9 | {'https://github.com/radareorg/radare2/commit/a5aafb99c3965259c84ddcf45a91144bf7eb4cf1'} | nvd | Null pointer dereference in libr/bin/format/mach0/mach0.c in radareorg/radare2 in GitHub repository radareorg/radare2 prior to 5.7.0. It is likely to be exploitable. For more general description of heap buffer overflow, see [CWE](https://cwe.mitre.org/data/definitions/476.html). | 2022-05-10 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/a5aafb99c3965259c84ddcf45a91144bf7eb4cf1 | a5aafb99c3965259c84ddcf45a91144bf7eb4cf1 | SINGLE | ['a5aafb99c3965259c84ddcf45a91144bf7eb4cf1'] | {'4b22fc55a8e3d3470c0fb477d28af26caece0887'} | a5aafb99c3965259c84ddcf45a91144bf7eb4cf1 | 1 | 05/10/2022, 09:48:45 | Fix null deref in macho parser ##crash
* Reported by Han0nly via huntrdev
* BountyID: c07e4918-cf86-4d2e-8969-5fb63575b449
* Reproducer: machonull | pancake | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -4580,6 +4580,9 @@ void MACH0_(iterate_chained_fixups)(struct MACH0_(obj_t) *bin, ut64 limit_start,\n \t\t\t\tif (page_idx >= bin->chained_starts[i]->page_count) {\n \t\t\t\t\tbreak;\n \t\t\t\t}\n+\t\t\t\tif (!bin->chained_starts[i]->page_... | c | CWE-787 | [
"libr/bin/format/mach0/mach0.c"
] | libr/bin/format/mach0/mach0.c | 1 |
module.exports = { throw new gql.GraphQLError('You are not authorized to manage this group or assign these permissions.') } // Update group await WIKI.models.groups.query().patch({ name: args.name, | module.exports = { throw new gql.GraphQLError('You are not authorized to manage this group or assign these permissions.') } // Check assigned permissions for manage:groups if ( WIKI.auth.checkExclusiveAccess(req.user, ['manage:groups'], ['manage:system']) && args.permissions.... | CVE-2022-1681 | {'CWE-287'} | 10 | {'https://github.com/requarks/wiki/commit/78d02dc8e5d103d248e5d7632bf7a6facdf4264c'} | nvd | Authentication Bypass Using an Alternate Path or Channel in GitHub repository requarks/wiki prior to 2.5.281. User can get root user permissions | 2022-05-12 | 1 | https://github.com/requarks/wiki | https://github.com/requarks/wiki/commit/78d02dc8e5d103d248e5d7632bf7a6facdf4264c | 78d02dc8e5d103d248e5d7632bf7a6facdf4264c | SINGLE | ['78d02dc8e5d103d248e5d7632bf7a6facdf4264c'] | {'a06201aaf5a531a090ec792a9119c2df14d6e50d'} | 78d02dc8e5d103d248e5d7632bf7a6facdf4264c | 1 | 05/10/2022, 01:36:13 | fix: prevent manage system assignment from manage groups permission | NGPixel | null | {'additions': 8, 'deletions': 0, 'total': 8} | [
{
"additions": 8,
"changes": 8,
"deletions": 0,
"patch": "@@ -173,6 +173,14 @@ module.exports = {\n throw new gql.GraphQLError('You are not authorized to manage this group or assign these permissions.')\n }\n \n+ // Check assigned permissions for manage:groups\n+ if (\n+ ... | js | CWE-287 | [
"server/graph/resolvers/group.js"
] | server/graph/resolvers/group.js | 1 |
import javax.servlet.http.HttpServletResponse; /** * Servlet to fake a .well-known directory */ @SuppressWarnings("serial") public class WellKnownServlet extends HttpServlet protected void doGet(HttpServletRequest request, { // GAE can't serve dot prefixed folders String uri = request.getRequestURI... | import javax.servlet.http.HttpServletResponse; /** * Servlet to fake a .well-known directory, GAE does not directly support . prefixed directories */ @SuppressWarnings("serial") public class WellKnownServlet extends HttpServlet protected void doGet(HttpServletRequest request, { // GAE can't serve dot prefi... | CVE-2022-1721 | {'CWE-22'} | 2.9 | {'https://github.com/jgraph/drawio/commit/01ccb271d34258872b859c0fc1d253cc81341917'} | nvd | Path Traversal in WellKnownServlet in GitHub repository jgraph/drawio prior to 18.0.5. Read local files of the web application. | 2022-05-16 | 1 | https://github.com/jgraph/drawio | https://github.com/jgraph/drawio/commit/01ccb271d34258872b859c0fc1d253cc81341917 | 01ccb271d34258872b859c0fc1d253cc81341917 | SINGLE | ['01ccb271d34258872b859c0fc1d253cc81341917'] | {'cf5c78aa0f3127fb10053db55b39f3017a0654ae'} | 01ccb271d34258872b859c0fc1d253cc81341917 | 1 | 05/15/2022, 10:13:37 | Limit wellknown servlet to serve single file | David Benson | null | {'additions': 30, 'deletions': 20, 'total': 50} | [
{
"additions": 30,
"changes": 50,
"deletions": 20,
"patch": "@@ -14,7 +14,7 @@\n import javax.servlet.http.HttpServletResponse;\n \n /**\n- * Servlet to fake a .well-known directory\n+ * Servlet to fake a .well-known directory, GAE does not directly support . prefixed directories\n */\n @SuppressWa... | java | CWE-22 | [
"src/main/java/com/mxgraph/online/WellKnownServlet.java"
] | src/main/java/com/mxgraph/online/WellKnownServlet.java | 1 |
void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) { struct nci_dev *ndev = priv->ndev; if (priv->ndev->nfc_dev->fw_download_in_progress) nfcmrvl_fw_dnld_abort(priv); void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) if (gpio_is_valid(priv->config.reset_n_io)) gpio_free(priv->config.res... | void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) { struct nci_dev *ndev = priv->ndev; nci_unregister_device(ndev); if (priv->ndev->nfc_dev->fw_download_in_progress) nfcmrvl_fw_dnld_abort(priv); void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv) if (gpio_is_valid(priv->config.reset_n_io)... | CVE-2022-1734 | {'CWE-416'} | 6.4 | {'https://github.com/torvalds/linux/commit/d270453a0d9ec10bb8a802a142fb1b3601a83098'} | nvd | A flaw in Linux Kernel found in nfcmrvl_nci_unregister_dev() in drivers/nfc/nfcmrvl/main.c can lead to use after free both read or write when non synchronized between cleanup routine and firmware download routine. | 2022-05-18 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/d270453a0d9ec10bb8a802a142fb1b3601a83098 | d270453a0d9ec10bb8a802a142fb1b3601a83098 | SINGLE | ['d270453a0d9ec10bb8a802a142fb1b3601a83098'] | {'da5c0f119203ad9728920456a0f52a6d850c01cd'} | d270453a0d9ec10bb8a802a142fb1b3601a83098 | 1 | 04/29/2022, 12:45:51 | nfc: nfcmrvl: main: reorder destructive operations in nfcmrvl_nci_unregister_dev to avoid bugs
There are destructive operations such as nfcmrvl_fw_dnld_abort and
gpio_free in nfcmrvl_nci_unregister_dev. The resources such as firmware,
gpio and so on could be destructed while the upper layer functions such as
nfcmrvl_f... | Duoming Zhou | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -183,6 +183,7 @@ void nfcmrvl_nci_unregister_dev(struct nfcmrvl_private *priv)\n {\n \tstruct nci_dev *ndev = priv->ndev;\n \n+\tnci_unregister_device(ndev);\n \tif (priv->ndev->nfc_dev->fw_download_in_progress)\n \t\tnfcmrvl_fw_dnld_abort... | c | CWE-416 | [
"drivers/nfc/nfcmrvl/main.c"
] | drivers/nfc/nfcmrvl/main.c | 1 |
static GF_Err BM_ParseGlobalQuantizer(GF_BifsDecoder *codec, GF_BitStream *bs, G codec->scenegraph->global_qp = NULL; if (gf_node_get_tag(node) != TAG_MPEG4_QuantizationParameter) { gf_node_unregister(node, NULL); return GF_NON_COMPLIANT_BITSTREAM; } static GF_Err BM_ParseGlobalQuantizer(GF_BifsDecoder *codec... | static GF_Err BM_ParseGlobalQuantizer(GF_BifsDecoder *codec, GF_BitStream *bs, G codec->scenegraph->global_qp = NULL; if (gf_node_get_tag(node) != TAG_MPEG4_QuantizationParameter) { //if node was just created (num_instances == 0), unregister //otherwise (USE node) don't do anything if (!node->sgprivate->num_i... | CVE-2022-1795 | {'CWE-416'} | 6.4 | {'https://github.com/gpac/gpac/commit/c535bad50d5812d27ee5b22b54371bddec411514'} | nvd | Use After Free in GitHub repository gpac/gpac prior to v2.1.0-DEV. | 2022-05-18 | 1 | https://github.com/gpac/gpac | https://github.com/gpac/gpac/commit/c535bad50d5812d27ee5b22b54371bddec411514 | c535bad50d5812d27ee5b22b54371bddec411514 | SINGLE | ['c535bad50d5812d27ee5b22b54371bddec411514'] | {'8595ef82b37f9219962d21ca9b985b256b125774'} | c535bad50d5812d27ee5b22b54371bddec411514 | 1 | 05/18/2022, 09:49:49 | fixed #2194 | jeanlf | null | {'additions': 8, 'deletions': 2, 'total': 10} | [
{
"additions": 8,
"changes": 10,
"deletions": 2,
"patch": "@@ -178,7 +178,12 @@ static GF_Err BM_ParseGlobalQuantizer(GF_BifsDecoder *codec, GF_BitStream *bs, G\n \tcodec->scenegraph->global_qp = NULL;\n \n \tif (gf_node_get_tag(node) != TAG_MPEG4_QuantizationParameter) {\n-\t\tgf_node_unregister(no... | c | CWE-416 | [
"src/bifs/memory_decoder.c"
] | src/bifs/memory_decoder.c | 1 |
import sys import rtxcomplete import traceback #class MainHandler(tornado.web.RequestHandler): # def get(self): # self.write("Hello, world") #print __file__ root = os.path.dirname(os.path.abspath(__file__)) rtxcomplete.load() #conn = sqlite3.connect('dict.db') #conn.enable_load_extension(True) #conn.load_e... | import sys import rtxcomplete import traceback import re root = os.path.dirname(os.path.abspath(__file__)) rtxcomplete.load() #### Sanitize the client-provided callback function name def sanitize_callback(callback): if callback is None or not isinstance(callback,str): return 'autocomplete_callback' ... | CVE-2022-1806 | {'CWE-79'} | 2.9 | {'https://github.com/rtxteam/rtx/commit/9bb109b0014f952f315c7b89e0f29a9ba84ee04c'} | nvd | Cross-site Scripting (XSS) - Reflected in GitHub repository rtxteam/rtx prior to checkpoint_2022-05-18. | 2022-05-20 | 1 | https://github.com/rtxteam/rtx | https://github.com/rtxteam/rtx/commit/9bb109b0014f952f315c7b89e0f29a9ba84ee04c | 9bb109b0014f952f315c7b89e0f29a9ba84ee04c | SINGLE | ['9bb109b0014f952f315c7b89e0f29a9ba84ee04c'] | {'ebdb3856d3ce23df62fd7fc3186d3f5f13ea4337'} | 9bb109b0014f952f315c7b89e0f29a9ba84ee04c | 1 | 05/18/2022, 03:32:13 | remove some cruft and implement a sanitizer for the client-supplied callback function name | Eric Deutsch | null | {'additions': 25, 'deletions': 23, 'total': 48} | [
{
"additions": 25,
"changes": 48,
"deletions": 23,
"patch": "@@ -6,32 +6,35 @@\n import sys\n import rtxcomplete\n import traceback\n-\n-#class MainHandler(tornado.web.RequestHandler):\n-# def get(self):\n-# self.write(\"Hello, world\")\n-#print __file__\n+import re\n \n root = os.path.dir... | py | CWE-79 | [
"code/autocomplete/server.py"
] | code/autocomplete/server.py | 1 |
import tldextract import logging import shutil from threading import Thread def get_whois(ip_domain, save_db=False, fetch_from_db=True): def get_cms_details(url): # this function will fetch cms details using cms_detector response = {} cms_detector_command = 'python3 /usr/src/github/CMSeeK/cmseek.py -u {}... | import tldextract import logging import shutil import subprocess from threading import Thread def get_whois(ip_domain, save_db=False, fetch_from_db=True): def get_cms_details(url): # this function will fetch cms details using cms_detector response = {} cms_detector_command = 'python3 /usr/src/github/CMSe... | CVE-2022-1813 | {'CWE-78'} | 6.4 | {'https://github.com/yogeshojha/rengine/commit/8277cec0f008a0451371a92e7e0bf082ab3f0c34'} | nvd | OS Command Injection in GitHub repository yogeshojha/rengine prior to 1.2.0. | 2022-05-22 | 1 | https://github.com/yogeshojha/rengine | https://github.com/yogeshojha/rengine/commit/8277cec0f008a0451371a92e7e0bf082ab3f0c34 | 8277cec0f008a0451371a92e7e0bf082ab3f0c34 | SINGLE | ['8277cec0f008a0451371a92e7e0bf082ab3f0c34'] | {'72a5fb2eb766c7b0334a3420af7576a60c95b182'} | 8277cec0f008a0451371a92e7e0bf082ab3f0c34 | 1 | 05/22/2022, 15:41:29 | Fix command injection issue on detect cms | Yogesh Ojha | null | {'additions': 7, 'deletions': 2, 'total': 9} | [
{
"additions": 7,
"changes": 9,
"deletions": 2,
"patch": "@@ -6,6 +6,7 @@\n import tldextract\n import logging\n import shutil\n+import subprocess\n \n from threading import Thread\n \n@@ -668,8 +669,12 @@ def get_whois(ip_domain, save_db=False, fetch_from_db=True):\n def get_cms_details(url):\n ... | py | CWE-78 | [
"web/reNgine/common_func.py"
] | web/reNgine/common_func.py | 1 |
int kvm_skip_emulated_instruction(struct kvm_vcpu *vcpu) } EXPORT_SYMBOL_GPL(kvm_skip_emulated_instruction); static bool kvm_vcpu_check_breakpoint(struct kvm_vcpu *vcpu, int *r) { if (unlikely(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) && (vcpu->arch.guest_debug_dr7 & DR7_BP_EN_MASK)) { static bool is_vmware_b... | int kvm_skip_emulated_instruction(struct kvm_vcpu *vcpu) } EXPORT_SYMBOL_GPL(kvm_skip_emulated_instruction); static bool kvm_vcpu_check_code_breakpoint(struct kvm_vcpu *vcpu, int *r) { if (unlikely(vcpu->guest_debug & KVM_GUESTDBG_USE_HW_BP) && (vcpu->arch.guest_debug_dr7 & DR7_BP_EN_MASK)) { static bool is_vmw... | CVE-2022-1852 | {'CWE-476'} | 2.9 | {'https://github.com/torvalds/linux/commit/fee060cd52d69c114b62d1a2948ea9648b5131f9'} | nvd | A NULL pointer dereference flaw was found in the Linux kernel’s KVM module, which can lead to a denial of service in the x86_emulate_insn in arch/x86/kvm/emulate.c. This flaw occurs while executing an illegal instruction in guest in the Intel CPU. | 2022-06-30 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/fee060cd52d69c114b62d1a2948ea9648b5131f9 | fee060cd52d69c114b62d1a2948ea9648b5131f9 | SINGLE | ['fee060cd52d69c114b62d1a2948ea9648b5131f9'] | {'d22d2474e3953996f03528b84b7f52cc26a39403'} | fee060cd52d69c114b62d1a2948ea9648b5131f9 | 1 | 03/11/2022, 03:27:41 | KVM: x86: avoid calling x86 emulator without a decoded instruction
Whenever x86_decode_emulated_instruction() detects a breakpoint, it
returns the value that kvm_vcpu_check_breakpoint() writes into its
pass-by-reference second argument. Unfortunately this is completely
bogus because the expected outcome of x86_decode... | Sean Christopherson | null | {'additions': 19, 'deletions': 12, 'total': 31} | [
{
"additions": 19,
"changes": 31,
"deletions": 12,
"patch": "@@ -8296,7 +8296,7 @@ int kvm_skip_emulated_instruction(struct kvm_vcpu *vcpu)\n }\n EXPORT_SYMBOL_GPL(kvm_skip_emulated_instruction);\n \n-static bool kvm_vcpu_check_breakpoint(struct kvm_vcpu *vcpu, int *r)\n+static bool kvm_vcpu_check_c... | c | CWE-476 | [
"arch/x86/kvm/x86.c"
] | arch/x86/kvm/x86.c | 1 |
func (db *Database) SearchAttribute(query url.Values) (results []types.SearchRes } if v := query.Get("tf_version"); string(v) != "" { where = append(where, fmt.Sprintf("states.tf_version LIKE '%s'", fmt.Sprintf("%%%s%%", v))) } if v := query.Get("lineage_value"); string(v) != "" { where = append(where, fmt.S... | func (db *Database) SearchAttribute(query url.Values) (results []types.SearchRes } if v := query.Get("tf_version"); string(v) != "" { where = append(where, "states.tf_version LIKE ?") params = append(params, fmt.Sprintf("%%%s%%", v)) } if v := query.Get("lineage_value"); string(v) != "" { where = append(wh... | CVE-2022-1883 | {'CWE-89'} | 6.4 | {'https://github.com/camptocamp/terraboard/commit/2a5dbaac015dc0714b41a59995e24f5767f89ddc'} | nvd | SQL Injection in GitHub repository camptocamp/terraboard prior to 2.2.0. | 2022-05-25 | 1 | https://github.com/camptocamp/terraboard | https://github.com/camptocamp/terraboard/commit/2a5dbaac015dc0714b41a59995e24f5767f89ddc | 2a5dbaac015dc0714b41a59995e24f5767f89ddc | SINGLE | ['2a5dbaac015dc0714b41a59995e24f5767f89ddc'] | {'608d9d5c694e967917c0fbca31be77e10a40a6e1'} | 2a5dbaac015dc0714b41a59995e24f5767f89ddc | 1 | 05/25/2022, 07:16:14 | fix(db): possible sql injection on /search endpoint | hbollon | null | {'additions': 4, 'deletions': 2, 'total': 6} | [
{
"additions": 4,
"changes": 6,
"deletions": 2,
"patch": "@@ -370,11 +370,13 @@ func (db *Database) SearchAttribute(query url.Values) (results []types.SearchRes\n \t}\n \n \tif v := query.Get(\"tf_version\"); string(v) != \"\" {\n-\t\twhere = append(where, fmt.Sprintf(\"states.tf_version LIKE '%s'\"... | go | CWE-89 | [
"db/db.go"
] | db/db.go | 1 |
mainController.uploadFavicon = function (req, res) { } if (!fs.existsSync(object.filePath)) return res.status(400).send('File failed to save to disk') settingUtil.setSetting('gen:customfavicon', true, function (err) { if (err) return res.status(400).send('Failed to save setting to database') mainCo... | mainController.uploadFavicon = function (req, res) { } if (!fs.existsSync(object.filePath)) return res.status(400).send('File failed to save to disk') if (path.extname(object.filename) === '.jpg' || path.extname(object.filename) === '.jpeg') { require('../helpers/utils').stripExifData(object.filePat... | CVE-2022-1893 | {'CWE-200'} | 2.9 | {'https://github.com/polonel/trudesk/commit/ae904d37eaa38bffebfbfe8e949c0385c63e3263'} | nvd | Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository polonel/trudesk prior to 1.2.3. | 2022-05-31 | 1 | https://github.com/polonel/trudesk | https://github.com/polonel/trudesk/commit/ae904d37eaa38bffebfbfe8e949c0385c63e3263 | ae904d37eaa38bffebfbfe8e949c0385c63e3263 | SINGLE | ['ae904d37eaa38bffebfbfe8e949c0385c63e3263'] | {'b7c15180b6d4e556ad05d0881eb72d8b2f1637a0'} | ae904d37eaa38bffebfbfe8e949c0385c63e3263 | 1 | 05/28/2022, 08:12:16 | fix(core): image data removal | Chris Brame | null | {'additions': 9, 'deletions': 0, 'total': 9} | [
{
"additions": 9,
"changes": 9,
"deletions": 0,
"patch": "@@ -655,6 +655,9 @@ mainController.uploadFavicon = function (req, res) {\n }\n \n if (!fs.existsSync(object.filePath)) return res.status(400).send('File failed to save to disk')\n+ if (path.extname(object.filename) === '.jpg' || pa... | js | CWE-200 | [
"src/controllers/main.js"
] | src/controllers/main.js | 1 |
static int string_scan_range(RList *list, RBinFile *bf, int min, free (charset); RConsIsBreaked is_breaked = (bin && bin->consb.is_breaked)? bin->consb.is_breaked: NULL; // may oobread while (needle < to) { if (is_breaked && is_breaked ()) { break; } // smol optimization if (needle + 4 < to) { ut32 n... | static int string_scan_range(RList *list, RBinFile *bf, int min, free (charset); RConsIsBreaked is_breaked = (bin && bin->consb.is_breaked)? bin->consb.is_breaked: NULL; // may oobread while (needle < to && needle < UT64_MAX - 4) { if (is_breaked && is_breaked ()) { break; } // smol optimization if (nee... | CVE-2022-1899 | {'CWE-125'} | 4.9 | {'https://github.com/radareorg/radare2/commit/193f4fe01d7f626e2ea937450f2e0c4604420e9d'} | nvd | Out-of-bounds Read in GitHub repository radareorg/radare2 prior to 5.7.0. | 2022-05-26 | 1 | https://github.com/radareorg/radare2 | https://github.com/radareorg/radare2/commit/193f4fe01d7f626e2ea937450f2e0c4604420e9d | 193f4fe01d7f626e2ea937450f2e0c4604420e9d | SINGLE | ['193f4fe01d7f626e2ea937450f2e0c4604420e9d'] | {'eca58ceea1aade055629a4db4ee399d5fd616220'} | 193f4fe01d7f626e2ea937450f2e0c4604420e9d | 1 | 05/26/2022, 15:42:39 | Fix integer overflow in string search causing oobread ##crash
* Reported by @greatergoodest via huntrdev
* BountyID: 8a3dc5cb-08b3-4807-82b2-77f08c137a04
* Reproducer bfileovf | pancake | null | {'additions': 6, 'deletions': 6, 'total': 12} | [
{
"additions": 6,
"changes": 12,
"deletions": 6,
"patch": "@@ -178,27 +178,27 @@ static int string_scan_range(RList *list, RBinFile *bf, int min,\n \tfree (charset);\n \tRConsIsBreaked is_breaked = (bin && bin->consb.is_breaked)? bin->consb.is_breaked: NULL;\n \t// may oobread\n-\twhile (needle < to... | c | CWE-125 | [
"libr/bin/bfile.c"
] | libr/bin/bfile.c | 1 |
public function addTab($array) if (!array_key_exists('image', $array)) { $this->setAPIResponse('error', 'Tab image was not supplied', 422); return false; } $response = [ array( public function updateTab($id, $array) $this->clearTabDefault(); } } if (array_key_exists('group_id', $array)) { ... | public function addTab($array) if (!array_key_exists('image', $array)) { $this->setAPIResponse('error', 'Tab image was not supplied', 422); return false; } else { $array['image'] = $this->sanitizeUserString($array['image']); } $response = [ array( public function updateTab($id, $array) $this->c... | CVE-2022-1909 | {'CWE-79'} | 2.9 | {'https://github.com/causefx/organizr/commit/d5245cab1f4b9180856330266911d6ceda14858b'} | nvd | Cross-site Scripting (XSS) - Stored in GitHub repository causefx/organizr prior to 2.1.2200. | 2022-05-27 | 1 | https://github.com/causefx/organizr | https://github.com/causefx/organizr/commit/d5245cab1f4b9180856330266911d6ceda14858b | d5245cab1f4b9180856330266911d6ceda14858b | SINGLE | ['d5245cab1f4b9180856330266911d6ceda14858b'] | {'b1299cddcfc37685150d585801f7df6ae0bfc90c'} | d5245cab1f4b9180856330266911d6ceda14858b | 1 | 05/26/2022, 20:09:07 | sanitize tab image and group image | CauseFX | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -5149,6 +5149,8 @@ public function addTab($array)\n \t\tif (!array_key_exists('image', $array)) {\n \t\t\t$this->setAPIResponse('error', 'Tab image was not supplied', 422);\n \t\t\treturn false;\n+\t\t} else {\n+\t\t\t$array['image'] = $th... | php | CWE-79 | [
"api/classes/organizr.class.php"
] | api/classes/organizr.class.php | 1 |
check_target_class(mrb_state *mrb) return target; } static mrb_value hash_new_from_values(mrb_state *mrb, mrb_int argc, mrb_value *regs) { mrb_value hash = mrb_hash_new_capa(mrb, argc); while (argc--) { mrb_hash_set(mrb, hash, regs[0], regs[1]); regs += 2; } return hash; } #define ARGUMENT_NORMALIZ... | check_target_class(mrb_state *mrb) return target; } #define regs (mrb->c->ci->stack) static mrb_value hash_new_from_regs(mrb_state *mrb, mrb_int argc, mrb_int idx) { mrb_value hash = mrb_hash_new_capa(mrb, argc); while (argc--) { mrb_hash_set(mrb, hash, regs[idx+0], regs[idx+1]); idx += 2; } return... | CVE-2022-1934 | {'CWE-416'} | 6.4 | {'https://github.com/mruby/mruby/commit/aa7f98dedb68d735a1665d3a289036c88b0c47ce'} | nvd | Use After Free in GitHub repository mruby/mruby prior to 3.2. | 2022-05-31 | 1 | https://github.com/mruby/mruby | https://github.com/mruby/mruby/commit/aa7f98dedb68d735a1665d3a289036c88b0c47ce | aa7f98dedb68d735a1665d3a289036c88b0c47ce | SINGLE | ['aa7f98dedb68d735a1665d3a289036c88b0c47ce'] | {'af5acf3566d5732871b1dcb007aee4f474369d93'} | aa7f98dedb68d735a1665d3a289036c88b0c47ce | 1 | 05/29/2022, 16:18:15 | vm.c (hash_new_from_regs): stack may be reallocated. | Yukihiro "Matz" Matsumoto | null | {'additions': 7, 'deletions': 6, 'total': 13} | [
{
"additions": 7,
"changes": 13,
"deletions": 6,
"patch": "@@ -1159,18 +1159,20 @@ check_target_class(mrb_state *mrb)\n return target;\n }\n \n+#define regs (mrb->c->ci->stack)\n+\n static mrb_value\n-hash_new_from_values(mrb_state *mrb, mrb_int argc, mrb_value *regs)\n+hash_new_from_regs(mrb_stat... | c | CWE-416 | [
"src/vm.c"
] | src/vm.c | 1 |
lzw_result lzw_decode(struct lzw_ctx *ctx, /* Code is invalid */ return LZW_BAD_CODE; } else if (code_new < current_entry) { /* Code is in table */ code_out = code_new; | lzw_result lzw_decode(struct lzw_ctx *ctx, /* Code is invalid */ return LZW_BAD_CODE; } else if (code_new >= 1 << LZW_CODE_MAX) { /* Don't access out of bound */ return LZW_BAD_CODE; } else if (code_new < current_entry) { /* Code is in table */ code_out = code_new; | CVE-2022-2061 | {'CWE-787'} | 2.9 | {'https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8'} | nvd | Heap-based Buffer Overflow in GitHub repository hpjansson/chafa prior to 1.12.0. | 2022-06-13 | 1 | https://github.com/hpjansson/chafa | https://github.com/hpjansson/chafa/commit/e6ce3746cdcf0836b9dae659a5aed15d73a080d8 | e6ce3746cdcf0836b9dae659a5aed15d73a080d8 | SINGLE | ['e6ce3746cdcf0836b9dae659a5aed15d73a080d8'] | {'56f1c7324771c44a2a4ca0c825ae1c52ee703982'} | e6ce3746cdcf0836b9dae659a5aed15d73a080d8 | 1 | 06/09/2022, 18:58:29 | libnsgif: fix oob in lzw_decode | Sudhakar Verma | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -329,6 +329,10 @@ lzw_result lzw_decode(struct lzw_ctx *ctx,\n \t\t/* Code is invalid */\n \t\treturn LZW_BAD_CODE;\n \n+\t} else if (code_new >= 1 << LZW_CODE_MAX) {\n+\t\t/* Don't access out of bound */\n+\t\treturn LZW_BAD_CODE;\n+\n \t... | c | CWE-787 | [
"libnsgif/lzw.c"
] | libnsgif/lzw.c | 1 |
if(preg_match('/^[a-z0-9A-Z.:,;]{8,25}$/',$_POST["P"])){ $register = True; $sql = "SELECT * FROM User"; $db_erg = mysqli_query($U->db_link, $sql); while ($row = mysqli_fetch_array($db_erg, MYSQLI_ASSOC)) { //Checks if username or mail ... | if(preg_match('/^[a-z0-9A-Z.:,;]{8,25}$/',$_POST["P"])){ $register = True; $sql = "SELECT * FROM User"; $dbRes = mysqli_query($U->db_link, $sql); while ($row = mysqli_fetch_array($dbRes, MYSQLI_ASSOC)) { //Checks if username or mail ar... | CVE-2022-21643 | {'CWE-89'} | 6.4 | {'https://github.com/Aaron-Junker/USOC/commit/21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69'} | nvd | USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via register.php. In particular usernames, email addresses, and passwords provided by the user were not sanitized and were used directly to construct a sql statement. Users are advised to upgrade as soon as possibl... | 2022-01-04 | 1 | https://github.com/Aaron-Junker/USOC | https://github.com/Aaron-Junker/USOC/commit/21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69 | 21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69 | SINGLE | ['21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69'] | {'06217c66c8f9b114726b21633eabcd88ac9034aa'} | 21e8bfd7a9ab0b7f9344a7a3a7c32a7cdd5a0b69 | 1 | 01/03/2022, 16:04:46 | Update register.php | Aaron Junker | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -25,8 +25,8 @@\n if(preg_match('/^[a-z0-9A-Z.:,;]{8,25}$/',$_POST[\"P\"])){\n $register = True;\n $sql = \"SELECT * FROM User\";\n- $db_erg = mysqli_query($U->db_link, $sql);\n- while... | php | CWE-89 | [
"login/register.php"
] | login/register.php | 1 |
<!DOCTYPE html> <html lang="<?php echo $U->getSetting("site.lang"); ?>" dir="ltr"> <head> <style> tbody > tr > th { font-weight: normal; } </style> <meta charset="utf-8"> <title><?php echo $U->getLang("admin") ?> - <?php echo $U->getLang("admi... | <?php if($U->userHasPermission("Backend", "User","Search")){ ?> <!DOCTYPE html> <html lang="<?php echo $U->getSetting("site.lang"); ?>" dir="ltr"> <head> <style> tbody > tr > th { font-weight: normal; } </style> ... | CVE-2022-21644 | {'CWE-89'} | 6.4 | {'https://github.com/Aaron-Junker/USOC/commit/06217c66c8f9b114726b21633eabcd88ac9034aa'} | nvd | USOC is an open source CMS with a focus on simplicity. In affected versions USOC allows for SQL injection via usersearch.php. In search terms provided by the user were not sanitized and were used directly to construct a sql statement. The only users permitted to search are site admins. Users are advised to upgrade as s... | 2022-01-04 | 1 | https://github.com/Aaron-Junker/USOC | https://github.com/Aaron-Junker/USOC/commit/06217c66c8f9b114726b21633eabcd88ac9034aa | 06217c66c8f9b114726b21633eabcd88ac9034aa | SINGLE | ['06217c66c8f9b114726b21633eabcd88ac9034aa'] | {'9b65bd08c2ef0c4c6bede3cd5d295b0f77101b0e'} | 06217c66c8f9b114726b21633eabcd88ac9034aa | 1 | 01/03/2022, 16:02:38 | Update usersearch.php | Aaron Junker | null | {'additions': 112, 'deletions': 83, 'total': 195} | [
{
"additions": 112,
"changes": 195,
"deletions": 83,
"patch": "@@ -1,89 +1,118 @@\n-<!DOCTYPE html>\n-<html lang=\"<?php echo $U->getSetting(\"site.lang\"); ?>\" dir=\"ltr\">\n- <head>\n- <style>\n- tbody > tr > th {\n- font-weight: normal;\n- }\n- ... | php | CWE-89 | [
"admin/pages/usersearch.php"
] | admin/pages/usersearch.php | 1 |
private function clean_query( &$query ) { return; } $query['terms'] = array_unique( (array) $query['terms'] ); if ( is_taxonomy_hierarchical( $query['taxonomy'] ) && $query['include_children'] ) { $this->transform_query( $query, 'term_id' ); | private function clean_query( &$query ) { return; } if ( 'slug' === $query['field'] || 'name' === $query['field'] ) { $query['terms'] = array_unique( (array) $query['terms'] ); } else { $query['terms'] = wp_parse_id_list( $query['terms'] ); } if ( is_taxonomy_hierarchical( $query['taxonomy'] ) && ... | CVE-2022-21661 | {'CWE-89'} | 2.9 | {'https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214'} | nvd | WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older af... | 2022-01-06 | 1 | https://github.com/WordPress/wordpress-develop | https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214 | 17efac8c8ec64555eff5cf51a3eff81e06317214 | SINGLE | ['17efac8c8ec64555eff5cf51a3eff81e06317214'] | {'dcaa0934c06d58a4c9425bfdc37fa03d15395b76'} | 17efac8c8ec64555eff5cf51a3eff81e06317214 | 1 | 01/06/2022, 17:20:19 | Query: Improve sanitization within `WP_Tax_Query`.
Merges [52454] to the 5.8 branch.
Props dd32, xknown, peterwilsoncc, ehtis.
git-svn-id: https://develop.svn.wordpress.org/branches/5.8@52459 602fd350-edb4-49c9-b593-d223f7449a82 | Jonathan Desrosiers | null | {'additions': 5, 'deletions': 1, 'total': 6} | [
{
"additions": 5,
"changes": 6,
"deletions": 1,
"patch": "@@ -556,7 +556,11 @@ private function clean_query( &$query ) {\n \t\t\treturn;\n \t\t}\n \n-\t\t$query['terms'] = array_unique( (array) $query['terms'] );\n+\t\tif ( 'slug' === $query['field'] || 'name' === $query['field'] ) {\n+\t\t\t$query[... | php | CWE-89 | [
"src/wp-includes/class-wp-tax-query.php"
] | src/wp-includes/class-wp-tax-query.php | 1 |
<?php if($U->userHasPermission("Backend", "User","Search")){ ?> <!DOCTYPE html> <html lang="<?php echo $U->getSetting("site.lang"); ?>" dir="ltr"> <head> <style> tbody > tr > th { font-weight: normal; } </style> ... | <?php if($U->userHasPermission("Backend", "User")){ ?> <!DOCTYPE html> <html lang="<?php echo $U->getSetting("site.lang"); ?>" dir="ltr"> <head> <meta charset="utf-8"> <title><?php echo $U->getLang("admin") ?> - <?php echo $U->getLang("admin.user.edit"); ?></title> </head> <body> <a... | CVE-2022-21666 | {'CWE-89'} | 6.4 | {'https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10'} | nvd | Useful Simple Open-Source CMS (USOC) is a content management system (CMS) for programmers. Versions prior to Pb2.4Bfx3 allowed Sql injection in usersearch.php only for users with administrative privileges. Users should replace the file `admin/pages/useredit.php` with a newer version. USOC version Pb2.4Bfx3 contains a f... | 2022-01-10 | 1 | https://github.com/Aaron-Junker/USOC | https://github.com/Aaron-Junker/USOC/commit/c331d26aaab41a7e9e8c1c1a990132dca9d01e10 | c331d26aaab41a7e9e8c1c1a990132dca9d01e10 | SINGLE | ['c331d26aaab41a7e9e8c1c1a990132dca9d01e10'] | {'1be52f38162dc0a5dec386cab26cbf454371f833'} | c331d26aaab41a7e9e8c1c1a990132dca9d01e10 | 1 | 01/09/2022, 07:04:05 | Update usersearch.php | Aaron Junker | null | {'additions': 124, 'deletions': 100, 'total': 224} | [
{
"additions": 124,
"changes": 224,
"deletions": 100,
"patch": "@@ -1,115 +1,139 @@\n <?php\n- if($U->userHasPermission(\"Backend\", \"User\",\"Search\")){\n+ if($U->userHasPermission(\"Backend\", \"User\")){\n ?>\n- <!DOCTYPE html>\n- <html lang=\"<?php echo $U->getSetting(\"site.lang\");... | php | CWE-89 | [
"admin/pages/usersearch.php"
] | admin/pages/usersearch.php | 1 |
int flag2str_sh(int flag, char *flag_str) { return 0; } int parse(char *elf) { int fd; struct stat st; int parse(char *elf) { PRINT_SECTION_TITLE("Nr", "Name", "Type", "Addr", "Off", "Size", "Es", "Flg", "Lk", "Inf", "Al"); for (int i = 0; i < ehdr->e_shnum; i++) { name = elf_m... | int flag2str_sh(int flag, char *flag_str) { return 0; } /** * @description: Judge whether the memory address is legal * @param {uint32_t} addr * @param {uint32_t} start * @param {uint32_t} end * @return {*} */ int validated_offset(uint32_t addr, uint32_t start, uint32_t end){ return addr <= end && addr ... | CVE-2022-21711 | {'CWE-125'} | 4.9 | {'https://github.com/liyansong2018/elfspirit/commit/c5b0f5a9a24f2451bbeda4751d67633bc375e608'} | nvd | elfspirit is an ELF static analysis and injection framework that parses, manipulates, and camouflages ELF files. When analyzing the ELF file format in versions prior to 1.1, there is an out-of-bounds read bug, which can lead to application crashes or information leakage. By constructing a special format ELF file, the i... | 2022-01-24 | 1 | https://github.com/liyansong2018/elfspirit | https://github.com/liyansong2018/elfspirit/commit/c5b0f5a9a24f2451bbeda4751d67633bc375e608 | c5b0f5a9a24f2451bbeda4751d67633bc375e608 | SINGLE | ['c5b0f5a9a24f2451bbeda4751d67633bc375e608'] | {'bc68101afb69569f4c2e4d3be30d4802f3102562'} | c5b0f5a9a24f2451bbeda4751d67633bc375e608 | 1 | 01/23/2022, 13:17:42 | Fix #1 about out-of-bounds | liyansong2018 | null | {'additions': 19, 'deletions': 0, 'total': 19} | [
{
"additions": 19,
"changes": 19,
"deletions": 0,
"patch": "@@ -73,6 +73,17 @@ int flag2str_sh(int flag, char *flag_str) {\n return 0;\n }\n \n+/**\n+ * @description: Judge whether the memory address is legal\n+ * @param {uint32_t} addr\n+ * @param {uint32_t} start\n+ * @param {uint32_t} end\n+ ... | c | CWE-125 | [
"parse.c"
] | parse.c | 1 |
if (isset($_GET['full_page_tab'])) { echo "<div class='center' id='debugajax'>"; echo "<a href='".htmlentities($_SERVER['REQUEST_URI'])."' class='vsubmit'>Reload</a>"; echo "</div>"; // I think that we should display this warning, because tabs are not prepare // for being used full space ... if (!... | if (isset($_GET['full_page_tab'])) { // I think that we should display this warning, because tabs are not prepare // for being used full space ... if (!isset($_SESSION['glpi_warned_about_full_page_tab'])) { | CVE-2022-21719 | {'CWE-79'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/e9b16bc8e9b61ebb2d35b96b9c71cd25c5af9e48'} | nvd | GLPI is a free asset and IT management software package. All GLPI versions prior to 9.5.7 are vulnerable to reflected cross-site scripting. Version 9.5.7 contains a patch for this issue. There are no known workarounds. | 2022-01-28 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/e9b16bc8e9b61ebb2d35b96b9c71cd25c5af9e48 | e9b16bc8e9b61ebb2d35b96b9c71cd25c5af9e48 | SINGLE | ['e9b16bc8e9b61ebb2d35b96b9c71cd25c5af9e48'] | {'5c3eee696b503fdf502f506b00d15cf5b324b326'} | e9b16bc8e9b61ebb2d35b96b9c71cd25c5af9e48 | 1 | 01/27/2022, 14:33:22 | Merge pull request from GHSA-6cj4-g839-gj5j | Alexandre Delaunay | null | {'additions': 0, 'deletions': 4, 'total': 4} | [
{
"additions": 0,
"changes": 4,
"deletions": 4,
"patch": "@@ -107,10 +107,6 @@\n \n \n if (isset($_GET['full_page_tab'])) {\n- echo \"<div class='center' id='debugajax'>\";\n- echo \"<a href='\".htmlentities($_SERVER['REQUEST_URI']).\"' class='vsubmit'>Reload</a>\";\n- echo \"</div>\";\n-\n ... | php | CWE-79 | [
"ajax/common.tabs.php"
] | ajax/common.tabs.php | 1 |
} if (array_key_exists('custom_css_code', $_POST)) { $_POST['custom_css_code'] = $_UPOST['custom_css_code']; } include (GLPI_ROOT . "/front/dropdown.common.form.php"); | } if (array_key_exists('custom_css_code', $_POST)) { // Prevent sanitize process to alter '<', '>' and '&' chars. $_POST['custom_css_code'] = $DB->escape($_UPOST['custom_css_code']); } include (GLPI_ROOT . "/front/dropdown.common.form.php"); | CVE-2022-21720 | {'CWE-89'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/5c3eee696b503fdf502f506b00d15cf5b324b326'} | nvd | GLPI is a free asset and IT management software package. Prior to version 9.5.7, an entity administrator is capable of retrieving normally inaccessible data via SQL injection. Version 9.5.7 contains a patch for this issue. As a workaround, disabling the `Entities` update right prevents exploitation of this vulnerabilit... | 2022-01-28 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/5c3eee696b503fdf502f506b00d15cf5b324b326 | 5c3eee696b503fdf502f506b00d15cf5b324b326 | SINGLE | ['5c3eee696b503fdf502f506b00d15cf5b324b326'] | {'19f13d2d3df7e2107de99a34147fdac57cb1d042'} | 5c3eee696b503fdf502f506b00d15cf5b324b326 | 1 | 01/27/2022, 14:32:40 | Merge pull request from GHSA-5hg4-r64r-rf83 | Cédric Anne | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -41,7 +41,8 @@\n }\n \n if (array_key_exists('custom_css_code', $_POST)) {\n- $_POST['custom_css_code'] = $_UPOST['custom_css_code'];\n+ // Prevent sanitize process to alter '<', '>' and '&' chars.\n+ $_POST['custom_css_code'] = $DB-... | php | CWE-89 | [
"front/entity.form.php"
] | front/entity.form.php | 1 |
PJ_DEF(void) pj_scan_get_n( pj_scanner *scanner, PJ_DEF(int) pj_scan_get_char( pj_scanner *scanner ) { int chr = *scanner->curptr; if (!chr) { pj_scan_syntax_err(scanner); return 0; } ++scanner->curptr; if (PJ_SCAN_IS_PROBABLY_SPACE(*scanner->curptr) && scanner->skip_ws) { pj_scan_skip_white... | PJ_DEF(void) pj_scan_get_n( pj_scanner *scanner, PJ_DEF(int) pj_scan_get_char( pj_scanner *scanner ) { register char *s = scanner->curptr; int chr; if (s >= scanner->end || !*s) { pj_scan_syntax_err(scanner); return 0; } chr = *s; ++s; scanner->curptr = s; if (PJ_SCAN_CHECK_EOF(s)... | CVE-2022-21723 | {'CWE-125'} | 4.9 | {'https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896'} | nvd | PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This ... | 2022-01-27 | 1 | https://github.com/pjsip/pjproject | https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896 | 077b465c33f0aec05a49cd2ca456f9a1b112e896 | SINGLE | ['077b465c33f0aec05a49cd2ca456f9a1b112e896'] | {'22af44e68a0c7d190ac1e25075e1382f77e9397a'} | 077b465c33f0aec05a49cd2ca456f9a1b112e896 | 1 | 01/26/2022, 05:28:57 | Merge pull request from GHSA-7fw8-54cv-r7pm | sauwming | {'com_1': {'author': 'coolpix3600', 'datetime': '03/27/2022, 14:31:56', 'body': 'for this CVE. why we modify pj_scan_get_char. why do not modify the content-type function'}, 'com_2': {'author': 'sauwming', 'datetime': '03/28/2022, 03:37:05', 'body': 'We were also considering of modifying the SIP multipart input buffer... | {'additions': 9, 'deletions': 4, 'total': 13} | [
{
"additions": 9,
"changes": 13,
"deletions": 4,
"patch": "@@ -444,16 +444,21 @@ PJ_DEF(void) pj_scan_get_n( pj_scanner *scanner,\n \n PJ_DEF(int) pj_scan_get_char( pj_scanner *scanner )\n {\n- int chr = *scanner->curptr;\n+ register char *s = scanner->curptr;\n+ int chr;\n \n- if (!chr)... | c | CWE-125 | [
"pjlib-util/src/pjlib-util/scanner.c"
] | pjlib-util/src/pjlib-util/scanner.c | 1 |
compute_pixel_type (XwdLoader *loader) } #define ASSERT_HEADER(x) if (!(x)) return FALSE static gboolean load_header (XwdLoader *loader) // gconstpointer in, gsize in_max_len, XwdHeader *header_out) { XwdHeader *h = &loader->header; XwdHeader in; const guint32 *p = (const guint32 *) ∈ if (!file_m... | compute_pixel_type (XwdLoader *loader) } #define ASSERT_HEADER(x) if (!(x)) return FALSE #define UNPACK_FIELD_U32(dest, src, field) ((dest)->field = GUINT32_FROM_BE ((src)->field)) #define UNPACK_FIELD_S32(dest, src, field) ((dest)->field = GINT32_FROM_BE ((src)->field)) static gboolean load_header (XwdLoader *loade... | CVE-2022-2301 | {'CWE-125'} | 2.9 | {'https://github.com/hpjansson/chafa/commit/56fabfa18a6880b4cb66047fa6557920078048d9'} | nvd | Buffer Over-read in GitHub repository hpjansson/chafa prior to 1.10.3. | 2022-07-04 | 1 | https://github.com/hpjansson/chafa | https://github.com/hpjansson/chafa/commit/56fabfa18a6880b4cb66047fa6557920078048d9 | 56fabfa18a6880b4cb66047fa6557920078048d9 | SINGLE | ['56fabfa18a6880b4cb66047fa6557920078048d9'] | {'395e9f63174734088149123de2600c2cb429b933'} | 56fabfa18a6880b4cb66047fa6557920078048d9 | 1 | 05/01/2022, 22:37:35 | XwdLoader: Fix buffer over-read and improve general robustness
This commit fixes a buffer over-read that could occur due to g_ntohl()
evaluating its argument more than once if at least one of the following
is true:
* Build target is not x86.
* __OPTIMIZE__ is not set during compilation (e.g. -O0 was used).
It also i... | Hans Petter Jansson | null | {'additions': 55, 'deletions': 31, 'total': 86} | [
{
"additions": 55,
"changes": 86,
"deletions": 31,
"patch": "@@ -165,67 +165,91 @@ compute_pixel_type (XwdLoader *loader)\n }\n \n #define ASSERT_HEADER(x) if (!(x)) return FALSE\n+#define UNPACK_FIELD_U32(dest, src, field) ((dest)->field = GUINT32_FROM_BE ((src)->field))\n+#define UNPACK_FIELD_S32(... | c | CWE-125 | [
"tools/chafa/xwd-loader.c"
] | tools/chafa/xwd-loader.c | 1 |
export class AssetServerPlugin implements NestModule, OnApplicationBootstrap { mimeType = (await fromBuffer(file))?.mime || 'application/octet-stream'; } res.contentType(mimeType); res.send(file); } catch (e) { const err = ... | export class AssetServerPlugin implements NestModule, OnApplicationBootstrap { mimeType = (await fromBuffer(file))?.mime || 'application/octet-stream'; } res.contentType(mimeType); res.setHeader('content-security-policy', `default-src 'self'`); ... | CVE-2022-23065 | {'CWE-79'} | 2.9 | {'https://github.com/vendure-ecommerce/vendure/commit/69a44869112c0a5b836e2ddd3969ea9b533f51f0'} | nvd | In Vendure versions 0.1.0-alpha.2 to 1.5.1 are affected by Stored XSS vulnerability, where an attacker having catalog permission can upload a SVG file that contains malicious JavaScript into the “Assets” tab. The uploaded file will affect administrators as well as regular users. | 2022-05-02 | 1 | https://github.com/vendure-ecommerce/vendure | https://github.com/vendure-ecommerce/vendure/commit/69a44869112c0a5b836e2ddd3969ea9b533f51f0 | 69a44869112c0a5b836e2ddd3969ea9b533f51f0 | SINGLE | ['69a44869112c0a5b836e2ddd3969ea9b533f51f0'] | {'6050279860c280252138904e77fdf580c002fa3b'} | 69a44869112c0a5b836e2ddd3969ea9b533f51f0 | 1 | 04/14/2022, 19:20:23 | fix(asset-server-plugin): Fix svg XSS vulnerability
It was discovered that a malicious SVG file containing javascript could be executed when opening the
source file in a new tab. This is now mitigated by adding a Content Security Policy header
to responses from the AssetServerPlugin. | Michael Bromley | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -212,6 +212,7 @@ export class AssetServerPlugin implements NestModule, OnApplicationBootstrap {\n mimeType = (await fromBuffer(file))?.mime || 'application/octet-stream';\n }\n res.conten... | ts | CWE-79 | [
"packages/asset-server-plugin/src/plugin.ts"
] | packages/asset-server-plugin/src/plugin.ts | 1 |
static void rose_idletimer_expiry(struct timer_list *); void rose_start_heartbeat(struct sock *sk) { del_timer(&sk->sk_timer); sk->sk_timer.function = rose_heartbeat_expiry; sk->sk_timer.expires = jiffies + 5 * HZ; add_timer(&sk->sk_timer); } void rose_start_t1timer(struct sock *sk) { struct rose_sock *rose ... | static void rose_idletimer_expiry(struct timer_list *); void rose_start_heartbeat(struct sock *sk) { sk_stop_timer(sk, &sk->sk_timer); sk->sk_timer.function = rose_heartbeat_expiry; sk->sk_timer.expires = jiffies + 5 * HZ; sk_reset_timer(sk, &sk->sk_timer, sk->sk_timer.expires); } void rose_start_t1timer(stru... | CVE-2022-2318 | {'CWE-416'} | 6.9 | {'https://github.com/torvalds/linux/commit/9cc02ede696272c5271a401e4f27c262359bc2f6'} | nvd | There are use-after-free vulnerabilities caused by timer handler in net/rose/rose_timer.c of linux that allow attackers to crash linux kernel without any privileges. | 2022-07-06 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/9cc02ede696272c5271a401e4f27c262359bc2f6 | 9cc02ede696272c5271a401e4f27c262359bc2f6 | SINGLE | ['9cc02ede696272c5271a401e4f27c262359bc2f6'] | {'f8ebb3ac881b17712e1d5967c97ab1806b16d3d6'} | 9cc02ede696272c5271a401e4f27c262359bc2f6 | 1 | 06/29/2022, 00:26:40 | net: rose: fix UAF bugs caused by timer handler
There are UAF bugs in rose_heartbeat_expiry(), rose_timer_expiry()
and rose_idletimer_expiry(). The root cause is that del_timer()
could not stop the timer handler that is running and the refcount
of sock is not managed properly.
One of the UAF bugs is shown below:
... | Duoming Zhou | null | {'additions': 19, 'deletions': 15, 'total': 34} | [
{
"additions": 19,
"changes": 34,
"deletions": 15,
"patch": "@@ -31,89 +31,89 @@ static void rose_idletimer_expiry(struct timer_list *);\n \n void rose_start_heartbeat(struct sock *sk)\n {\n-\tdel_timer(&sk->sk_timer);\n+\tsk_stop_timer(sk, &sk->sk_timer);\n \n \tsk->sk_timer.function = rose_heartbe... | c | CWE-416 | [
"net/rose/rose_timer.c"
] | net/rose/rose_timer.c | 1 |
struct dlg_set /* This is the buffer to store this entry in the hash table. */ pj_hash_entry_buf ht_entry; /* List of dialog in this dialog set. */ struct dlg_set_head dlg_list; }; PJ_DEF(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent *ua, * Create the dialog set and add this dialog to it... | struct dlg_set /* This is the buffer to store this entry in the hash table. */ pj_hash_entry_buf ht_entry; /* Entry key in the hash table */ pj_str_t ht_key; /* List of dialog in this dialog set. */ struct dlg_set_head dlg_list; }; PJ_DEF(pj_status_t) pjsip_ua_register_dlg( pjsip_user_agent ... | CVE-2022-23608 | {'CWE-416'} | 6.4 | {'https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f'} | nvd | PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions up to and including 2.11.1 when in a dialog set (or forking) scenario, a hash key shared by multiple UAC dialogs can potentially be prematu... | 2022-02-22 | 1 | https://github.com/pjsip/pjproject | https://github.com/pjsip/pjproject/commit/db3235953baa56d2fb0e276ca510fefca751643f | db3235953baa56d2fb0e276ca510fefca751643f | SINGLE | ['db3235953baa56d2fb0e276ca510fefca751643f'] | {'9b37e587bc901d65ef5ca7b4ddeb5b9ac2c5267f'} | db3235953baa56d2fb0e276ca510fefca751643f | 1 | 02/20/2022, 23:24:52 | Merge pull request from GHSA-ffff-m5fm-qm62
* Update pjsip_ua_unregister_dlg():
- update the hash key if the dialog being unregistered is used as hash key.
- add an assertion check to make sure that the dlg_set to be removed is valid (can be found in the hash table).
* Change hash key string comparison method. | Nanang Izzuddin | null | {'additions': 42, 'deletions': 6, 'total': 48} | [
{
"additions": 42,
"changes": 48,
"deletions": 6,
"patch": "@@ -65,6 +65,9 @@ struct dlg_set\n /* This is the buffer to store this entry in the hash table. */\n pj_hash_entry_buf ht_entry;\n \n+ /* Entry key in the hash table */\n+ pj_str_t ht_key;\n+\n /* List of dialog in this di... | c | CWE-416 | [
"pjsip/src/pjsip/sip_ua_layer.c"
] | pjsip/src/pjsip/sip_ua_layer.c | 1 |
import random from html import escape from os import remove import magic from flask import Flask, abort, request from PIL import Image def uploadimage(): ): # if it is not over the limit, it will skip. if it is, it does this. # if we have gone over our cache limit, let's delete the first entry. f... | import random from html import escape from os import remove import werkzeug.utils import magic from flask import Flask, abort, request from PIL import Image def uploadimage(): ): # if it is not over the limit, it will skip. if it is, it does this. # if we have gone over our cache limit, let's delete the f... | CVE-2022-23609 | {'CWE-22'} | 4.9 | {'https://github.com/bildsben/iTunesRPC-Remastered/commit/1eb1e5428f0926b2829a0bbbb65b0d946e608593'} | nvd | iTunesRPC-Remastered is a Discord Rich Presence for iTunes on Windows utility. In affected versions iTunesRPC-Remastered did not properly sanitize user input used to remove files leading to file deletion only limited by the process permissions. Users are advised to upgrade as soon as possible. | 2022-02-04 | 1 | https://github.com/bildsben/iTunesRPC-Remastered | https://github.com/bildsben/iTunesRPC-Remastered/commit/1eb1e5428f0926b2829a0bbbb65b0d946e608593 | 1eb1e5428f0926b2829a0bbbb65b0d946e608593 | SINGLE | ['1eb1e5428f0926b2829a0bbbb65b0d946e608593'] | {'1bda8d191652c901613378e938775ca4717b9077'} | 1eb1e5428f0926b2829a0bbbb65b0d946e608593 | 1 | 02/02/2022, 19:27:04 | quick security fix | Ben | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -5,7 +5,7 @@\n import random\n from html import escape\n from os import remove\n-\n+import werkzeug.utils\n import magic\n from flask import Flask, abort, request\n from PIL import Image\n@@ -189,7 +189,7 @@ def uploadimage():\n ): # ... | py | CWE-22 | [
"upload/server.py"
] | upload/server.py | 1 |
def get(image_file, domain, title, singer, album): import json import os from html import unescape import requests api = f"http://{domain}:7873/bGVhdmVfcmlnaHRfbm93" with open(image_file, "rb") as f: | def get(image_file, domain, title, singer, album): import json import os from html import unescape import werkzeug.utils import requests image_file = werkzeug.utils.secure_filename(ast.literal_eval(image_file)) api = f"http://{domain}:7873/bGVhdmVfcmlnaHRfbm93" with open(image_file, ... | CVE-2022-23611 | {'CWE-78'} | 6.4 | {'https://github.com/bildsben/iTunesRPC-Remastered/commit/cdcd48bbc44009ddcbd07a809b87376dc9ce37f4'} | nvd | iTunesRPC-Remastered is a Discord Rich Presence for iTunes on Windows utility. In affected versions iTunesRPC-Remastered did not properly sanitize image file paths leading to OS level command injection. This issue has been patched in commit cdcd48b. Users are advised to upgrade. | 2022-02-04 | 1 | https://github.com/bildsben/iTunesRPC-Remastered | https://github.com/bildsben/iTunesRPC-Remastered/commit/cdcd48bbc44009ddcbd07a809b87376dc9ce37f4 | cdcd48bbc44009ddcbd07a809b87376dc9ce37f4 | SINGLE | ['cdcd48bbc44009ddcbd07a809b87376dc9ce37f4'] | {'cbcea0a2c3e21f3a80675576792e783da59457cd'} | cdcd48bbc44009ddcbd07a809b87376dc9ce37f4 | 1 | 02/02/2022, 20:06:56 | small fix | Ben | null | {'additions': 3, 'deletions': 1, 'total': 4} | [
{
"additions": 3,
"changes": 4,
"deletions": 1,
"patch": "@@ -24,9 +24,11 @@ def get(image_file, domain, title, singer, album):\n import json\n import os\n from html import unescape\n-\n+ import werkzeug.utils\n import requests\n \n+ image_file = werkzeug.utils.secure_filename(... | py | CWE-78 | [
"module/connect_to_server.py"
] | module/connect_to_server.py | 1 |
private static function thumb($source_path, $thumb_path){ } $old_image = $imgcreatefrom($source_path); $new_image = imagecreatetruecolor($new_w, $new_h); imagecopyresampled($new_image, $old_image, 0, 0, 0, 0, $new_w, $new_h, $source_w, $source_h); $new_image = self::fix_orientation($source_path, $new_image... | private static function thumb($source_path, $thumb_path){ } $old_image = $imgcreatefrom($source_path); if ($old_image === false) return false; $new_image = imagecreatetruecolor($new_w, $new_h); imagecopyresampled($new_image, $old_image, 0, 0, 0, 0, $new_w, $new_h, $source_w, $source_h); $new_image = sel... | CVE-2022-23626 | {'CWE-20'} | 6.4 | {'https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef'} | nvd | m1k1o/blog is a lightweight self-hosted facebook-styled PHP blog. Errors from functions `imagecreatefrom*` and `image*` have not been checked properly. Although PHP issued warnings and the upload function returned `false`, the original file (that could contain a malicious payload) was kept on the disk. Users are advise... | 2022-02-08 | 1 | https://github.com/m1k1o/blog | https://github.com/m1k1o/blog/commit/6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef | 6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef | SINGLE | ['6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef'] | {'5e1a72f22e7a85ab1f8628abfc94777d1f741df6'} | 6f5e59f1401c4a3cf2e518aa85b231ea14e8a2ef | 1 | 01/06/2022, 16:23:43 | check image create errors. | Miroslav Šedivý | null | {'additions': 4, 'deletions': 3, 'total': 7} | [
{
"additions": 4,
"changes": 7,
"deletions": 3,
"patch": "@@ -110,15 +110,16 @@ private static function thumb($source_path, $thumb_path){\n \t\t}\n \n \t\t$old_image = $imgcreatefrom($source_path);\n+\t\tif ($old_image === false) return false;\n+\n \t\t$new_image = imagecreatetruecolor($new_w, $new_... | php | CWE-20 | [
"app/image.class.php"
] | app/image.class.php | 1 |
| */ 'allow_unsafe_links' => true, /* * Configuration related to ExternalLinkExtension | | */ 'allow_unsafe_links' => false, /* * Configuration related to ExternalLinkExtension | CVE-2022-23637 | {'CWE-79'} | 2.9 | {'https://github.com/k-box/k-box/commit/3bb4df9a4d01aade5bffaa603a514d1a5fabd214'} | nvd | K-Box is a web-based application to manage documents, images, videos and geodata. Prior to version 0.33.1, a stored Cross-Site-Scripting (XSS) vulnerability is present in the markdown editor used by the document abstract and markdown file preview. A specifically crafted anchor link can, if clicked, execute untrusted ja... | 2022-02-14 | 1 | https://github.com/k-box/k-box | https://github.com/k-box/k-box/commit/3bb4df9a4d01aade5bffaa603a514d1a5fabd214 | 3bb4df9a4d01aade5bffaa603a514d1a5fabd214 | SINGLE | ['3bb4df9a4d01aade5bffaa603a514d1a5fabd214'] | {'26a60f8ff43a9aa65ce0644d56c107416393b0eb'} | 3bb4df9a4d01aade5bffaa603a514d1a5fabd214 | 1 | 02/12/2022, 10:34:12 | Update markdown configuration | Alessio | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -144,7 +144,7 @@\n |\n */\n \n- 'allow_unsafe_links' => true,\n+ 'allow_unsafe_links' => false,\n \n /*\n * Configuration related to ExternalLinkExtension",
"path": "config/markdown.php",
"raw_url": "https://... | php | CWE-79 | [
"config/markdown.php"
] | config/markdown.php | 1 |
SWTPM_NVRAM_CheckHeader(unsigned char *data, uint32_t length, uint8_t *hdrversion, bool quiet) { blobheader *bh = (blobheader *)data; if (length < sizeof(bh)) { if (!quiet) SWTPM_NVRAM_CheckHeader(unsigned char *data, uint32_t length, return TPM_BAD_VERSION; } ... | SWTPM_NVRAM_CheckHeader(unsigned char *data, uint32_t length, uint8_t *hdrversion, bool quiet) { blobheader *bh = (blobheader *)data; uint16_t hdrsize; if (length < sizeof(bh)) { if (!quiet) SWTPM_NVRAM_CheckHeader(unsigned char *data, uint32_t length, return TPM_BA... | CVE-2022-23645 | {'CWE-125'} | 2.9 | {'https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19'} | nvd | swtpm is a libtpms-based TPM emulator with socket, character device, and Linux CUSE interface. Versions prior to 0.5.3, 0.6.2, and 0.7.1 are vulnerable to out-of-bounds read. A specially crafted header of swtpm's state, where the blobheader's hdrsize indicator has an invalid value, may cause an out-of-bounds access whe... | 2022-02-18 | 1 | https://github.com/stefanberger/swtpm | https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19 | 9f740868fc36761de27df3935513bdebf8852d19 | SINGLE | ['9f740868fc36761de27df3935513bdebf8852d19'] | {'48773fe3eabb60a53bb121c34177244da7299fa5'} | 9f740868fc36761de27df3935513bdebf8852d19 | 1 | 02/16/2022, 16:17:47 | swtpm: Check header size indicator against expected size (CID 375869)
This fix addresses Coverity issue CID 375869.
Check the header size indicated in the header of the state against the
expected size and return an error code in case the header size indicator
is different. There was only one header size so far since ... | Stefan Berger | null | {'additions': 10, 'deletions': 1, 'total': 11} | [
{
"additions": 10,
"changes": 11,
"deletions": 1,
"patch": "@@ -1075,6 +1075,7 @@ SWTPM_NVRAM_CheckHeader(unsigned char *data, uint32_t length,\n uint8_t *hdrversion, bool quiet)\n {\n blobheader *bh = (blobheader *)data;\n+ uint16_t hdrsize;\n \n if (length < size... | c | CWE-125 | [
"src/swtpm/swtpm_nvstore.c"
] | src/swtpm/swtpm_nvstore.c | 1 |
export default class ExportDialog extends BasicWidget { const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath); this.branchId = await froca.getBranchId(parentNoteId, noteId); const noteTitle = await treeService.getNoteTitle(noteId); this.$noteTitle.html... | export default class ExportDialog extends BasicWidget { const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath); this.branchId = await froca.getBranchId(parentNoteId, noteId); this.$noteTitle.text(await treeService.getNoteTitle(noteId)); } exportBranch(br... | CVE-2022-2365 | {'CWE-79'} | 2.9 | {'https://github.com/zadam/trilium/commit/1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a'} | nvd | Cross-site Scripting (XSS) - Stored in GitHub repository zadam/trilium prior to 0.53.3. | 2022-07-10 | 1 | https://github.com/zadam/trilium | https://github.com/zadam/trilium/commit/1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a | 1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a | SINGLE | ['1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a'] | {'ea3bce25d9b2bca859b62e856e6141c340f2a060'} | 1dfc37704fdd90ab7afbd8a586bdfc5cfaadeb8a | 1 | 07/10/2022, 20:32:00 | fix note title escaping in export dialog | zadam | null | {'additions': 1, 'deletions': 4, 'total': 5} | [
{
"additions": 1,
"changes": 5,
"deletions": 4,
"patch": "@@ -213,10 +213,7 @@ export default class ExportDialog extends BasicWidget {\n const {noteId, parentNoteId} = treeService.getNoteIdAndParentIdFromNotePath(notePath);\n \n this.branchId = await froca.getBranchId(parentNoteId, n... | js | CWE-79 | [
"src/public/app/widgets/dialogs/export.js"
] | src/public/app/widgets/dialogs/export.js | 1 |
module.exports = class Page extends Model { // -> Check for page access if (!WIKI.auth.checkAccess(opts.user, ['write:pages'], { locale: opts.locale, path: opts.path })) { throw new WIKI.Error.PageUpdateForbidden() } module.exports = class Page extends Model { // -> Perform move... | module.exports = class Page extends Model { // -> Check for page access if (!WIKI.auth.checkAccess(opts.user, ['write:pages'], { locale: ogPage.localeCode, path: ogPage.path })) { throw new WIKI.Error.PageUpdateForbidden() } module.exports = class Page extends Model { // -> Perf... | CVE-2022-23654 | {'CWE-287'} | 2.9 | {'https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b'} | nvd | Wiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact. The access control incorrectly check the path access against the user-prov... | 2022-02-22 | 1 | https://github.com/Requarks/wiki | https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b | 411802ec2f654bb5ed1126c307575b81e2361c6b | SINGLE | ['411802ec2f654bb5ed1126c307575b81e2361c6b'] | {'3f5388d09372dfe78a9c0be6bc3a21d968f4a74c'} | 411802ec2f654bb5ed1126c307575b81e2361c6b | 1 | 02/20/2022, 23:46:03 | fix: check update page access using original page path | NGPixel | null | {'additions': 10, 'deletions': 2, 'total': 12} | [
{
"additions": 10,
"changes": 12,
"deletions": 2,
"patch": "@@ -371,8 +371,8 @@ module.exports = class Page extends Model {\n \n // -> Check for page access\n if (!WIKI.auth.checkAccess(opts.user, ['write:pages'], {\n- locale: opts.locale,\n- path: opts.path\n+ locale: ogPage.... | js | CWE-287 | [
"server/models/pages.js"
] | server/models/pages.js | 1 |
function save_changes_to_xml(xml) { if ($sf['name'] == $_REQUEST['pkg_filter_type']) { $filter_fieldname = $sf['fieldname']; #Use a default regex on sortable fields when none is declared if ($sf['regex']) { $filter_regex = str_replace("%FILTERTEXT%", $_REQUEST['pkg_fil... | function save_changes_to_xml(xml) { if ($sf['name'] == $_REQUEST['pkg_filter_type']) { $filter_fieldname = $sf['fieldname']; #Use a default regex on sortable fields when none is declared $pkg_filter = cleanup_regex_pattern(htmlspecialchars(strip_tags($_REQUEST['pkg_filter']))); ... | CVE-2022-23993 | {'CWE-79'} | 2.9 | {'https://github.com/pfsense/pfsense/commit/5d82cce0d615a76b738798577a28a15803e59aeb'} | nvd | /usr/local/www/pkg.php in pfSense CE before 2.6.0 and pfSense Plus before 22.01 uses $_REQUEST['pkg_filter'] in a PHP echo call, causing XSS. | 2022-01-26 | 1 | https://github.com/pfsense/pfsense | https://github.com/pfsense/pfsense/commit/5d82cce0d615a76b738798577a28a15803e59aeb | 5d82cce0d615a76b738798577a28a15803e59aeb | SINGLE | ['5d82cce0d615a76b738798577a28a15803e59aeb'] | {'c83b195f258f472ce1d45305b56352bdd36cdbc0'} | 5d82cce0d615a76b738798577a28a15803e59aeb | 1 | 01/25/2022, 13:38:21 | Clean up pkg filter text before use. Fixes #12725
Also remove unnecessary echos of the value. | jim-p | null | {'additions': 3, 'deletions': 6, 'total': 9} | [
{
"additions": 3,
"changes": 9,
"deletions": 6,
"patch": "@@ -434,10 +434,11 @@ function save_changes_to_xml(xml) {\n \t\t\t\t\t\t\t\t\tif ($sf['name'] == $_REQUEST['pkg_filter_type']) {\n \t\t\t\t\t\t\t\t\t\t$filter_fieldname = $sf['fieldname'];\n \t\t\t\t\t\t\t\t\t\t#Use a default regex on sortabl... | php | CWE-79 | [
"src/usr/local/www/pkg.php"
] | src/usr/local/www/pkg.php | 1 |
struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) kfree(new); } else { hlist_add_head(&new->node, hashent); spin_unlock_irq(&ucounts_lock); return new; } void put_ucounts(struct ucounts *ucounts) if (atomic_dec_and_lock_irqsave(&ucounts->count, &ucounts_lock, flags)) { hlist_del_i... | struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) kfree(new); } else { hlist_add_head(&new->node, hashent); get_user_ns(new->ns); spin_unlock_irq(&ucounts_lock); return new; } void put_ucounts(struct ucounts *ucounts) if (atomic_dec_and_lock_irqsave(&ucounts->count, &ucounts_lock... | CVE-2022-24122 | {'CWE-416'} | 10 | {'https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5'} | nvd | kernel/ucount.c in the Linux kernel 5.14 through 5.16.4, when unprivileged user namespaces are enabled, allows a use-after-free and privilege escalation because a ucounts object can outlive its namespace. | 2022-01-29 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/f9d87929d451d3e649699d0f1d74f71f77ad38f5 | f9d87929d451d3e649699d0f1d74f71f77ad38f5 | SINGLE | ['f9d87929d451d3e649699d0f1d74f71f77ad38f5'] | {'e783362eb54cd99b2cac8b3a9aeac942e6f6ac07'} | f9d87929d451d3e649699d0f1d74f71f77ad38f5 | 1 | 01/24/2022, 18:46:50 | ucount: Make get_ucount a safe get_user replacement
When the ucount code was refactored to create get_ucount it was missed
that some of the contexts in which a rlimit is kept elevated can be
the only reference to the user/ucount in the system.
Ordinary ucount references exist in places that also have a reference
to ... | Eric W. Biederman | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -190,6 +190,7 @@ struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid)\n \t\t\tkfree(new);\n \t\t} else {\n \t\t\thlist_add_head(&new->node, hashent);\n+\t\t\tget_user_ns(new->ns);\n \t\t\tspin_unlock_irq(&ucounts_lock);\n \... | c | CWE-416 | [
"kernel/ucount.c"
] | kernel/ucount.c | 1 |
public function createElements(array $formData) if ($this->getRequest()->getActionName() != 'editresource') { $callbackValidator = new Zend_Validate_Callback(function ($value) { if (openssl_pkey_get_private($value) === false) { return false; } ... | public function createElements(array $formData) if ($this->getRequest()->getActionName() != 'editresource') { $callbackValidator = new Zend_Validate_Callback(function ($value) { if ( substr(ltrim($value), 0, 7) === 'file://' || openssl_pkey_g... | CVE-2022-24715 | {'CWE-22'} | 6.4 | {'https://github.com/Icinga/icingaweb2/commit/a06d915467ca943a4b406eb9587764b8ec34cafb'} | nvd | Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Authenticated users, with access to the configuration, can create SSH resource files in unintended directories, leading to the execution of arbitrary code. This issue has been resolved in versions 2.8.6, 2.9.6 and 2.10 of Ici... | 2022-03-08 | 1 | https://github.com/Icinga/icingaweb2 | https://github.com/Icinga/icingaweb2/commit/a06d915467ca943a4b406eb9587764b8ec34cafb | a06d915467ca943a4b406eb9587764b8ec34cafb | SINGLE | ['a06d915467ca943a4b406eb9587764b8ec34cafb'] | {'f24e2dd4b7ed22130975142c6a8a69457d1ad15d', '9931ed799650f5b8d5e1dc58ea3415a4cdc5773d'} | a06d915467ca943a4b406eb9587764b8ec34cafb | 1 | 03/08/2022, 11:02:40 | Merge pull request from GHSA-v9mv-h52f-7g63
v2.9 Backport | Johannes Meyer | null | {'additions': 8, 'deletions': 5, 'total': 13} | [
{
"additions": 8,
"changes": 13,
"deletions": 5,
"patch": "@@ -52,9 +52,13 @@ public function createElements(array $formData)\n \n if ($this->getRequest()->getActionName() != 'editresource') {\n $callbackValidator = new Zend_Validate_Callback(function ($value) {\n- ... | php | CWE-22 | [
"application/forms/Config/Resource/SshResourceForm.php"
] | application/forms/Config/Resource/SshResourceForm.php | 1 |
public function handle(Request $request) } $assetRoot = $library->getStaticAssetPath(); $filePath = $assetRoot . DIRECTORY_SEPARATOR . $assetPath; // Doesn't use realpath as it isn't supposed to access files outside asset/static if (! is_readable($filePath) || ! is_file($fileP... | public function handle(Request $request) } $assetRoot = $library->getStaticAssetPath(); if (empty($assetRoot)) { $app->getResponse() ->setHttpResponseCode(404); return; } $filePath = $assetRoot . DIRECTORY_SEPARATOR . $assetPath; ... | CVE-2022-24716 | {'CWE-22'} | 2.9 | {'https://github.com/Icinga/icingaweb2/commit/9931ed799650f5b8d5e1dc58ea3415a4cdc5773d'} | nvd | Icinga Web 2 is an open source monitoring web interface, framework and command-line interface. Unauthenticated users can leak the contents of files of the local system accessible to the web-server user, including `icingaweb2` configuration files with database credentials. This issue has been resolved in versions 2.9.6 ... | 2022-03-08 | 1 | https://github.com/Icinga/icingaweb2 | https://github.com/Icinga/icingaweb2/commit/9931ed799650f5b8d5e1dc58ea3415a4cdc5773d | 9931ed799650f5b8d5e1dc58ea3415a4cdc5773d | SINGLE | ['9931ed799650f5b8d5e1dc58ea3415a4cdc5773d'] | {'e9d775df565b4580380ee3a3eca2a51d86bb125a', 'bf0ad4b4ce561d7d66045f16e27cff4cfaaba16e'} | 9931ed799650f5b8d5e1dc58ea3415a4cdc5773d | 1 | 03/08/2022, 11:01:34 | Merge pull request from GHSA-5p3f-rh28-8frw
v2.9 Backport | Johannes Meyer | null | {'additions': 13, 'deletions': 2, 'total': 15} | [
{
"additions": 13,
"changes": 15,
"deletions": 2,
"patch": "@@ -39,10 +39,21 @@ public function handle(Request $request)\n }\n \n $assetRoot = $library->getStaticAssetPath();\n+ if (empty($assetRoot)) {\n+ $app->getResponse()\n+ ->setHttpResponseCode(... | php | CWE-22 | [
"library/Icinga/Web/Controller/StaticController.php"
] | library/Icinga/Web/Controller/StaticController.php | 1 |
} // do some type filtering $mybb->input['type'] = str_replace("\n", "", $mybb->input['type']); if(strtolower(substr($mybb->input['type'], 0, 3)) == "php") { $mybb->input['type'] = ""; } } // do some type filtering $mybb->input['type'] = str_replace("\n", "", $mybb->input['type']); if(strtolow... | } // do some type filtering $mybb->input['type'] = $mybb->get_input('type'); if(!ctype_alnum($mybb->input['type']) || strtolower($mybb->input['type']) == "php") { $mybb->input['type'] = ""; } } // do some type filtering $mybb->input['type'] = $mybb->get_input('type'); if(!ctype_alnum($mybb->in... | CVE-2022-24734 | {'CWE-94'} | 6.4 | {'https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1'} | nvd | MyBB is a free and open source forum software. In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type `php` with PHP code, executed on on _Change Settings_ pages. This results in a Remote Code... | 2022-03-09 | 1 | https://github.com/mybb/mybb | https://github.com/mybb/mybb/commit/92012b9831b330714b9f9b4646a98784113489c1 | 92012b9831b330714b9f9b4646a98784113489c1 | SINGLE | ['92012b9831b330714b9f9b4646a98784113489c1'] | {'89ba6fd39fca4ede328f69deca9aba7b57f2c5d1'} | 92012b9831b330714b9f9b4646a98784113489c1 | 1 | 03/09/2022, 17:46:34 | Fix ACP Settings management RCE | Tomasz Mlynski | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -293,8 +293,8 @@\n \t\t}\n \n \t\t// do some type filtering\n-\t\t$mybb->input['type'] = str_replace(\"\\n\", \"\", $mybb->input['type']);\n-\t\tif(strtolower(substr($mybb->input['type'], 0, 3)) == \"php\")\n+\t\t$mybb->input['type'] = $my... | php | CWE-94 | [
"admin/modules/config/settings.php"
] | admin/modules/config/settings.php | 1 |
static int print_media_desc(const pjmedia_sdp_media *m, char *buf, pj_size_t len pj_memcpy(p, m->desc.transport.ptr, m->desc.transport.slen); p += m->desc.transport.slen; for (i=0; i<m->desc.fmt_count; ++i) { *p++ = ' '; pj_memcpy(p, m->desc.fmt[i].ptr, m->desc.fmt[i].slen); p += m->desc.fmt[i].slen; ... | static int print_media_desc(const pjmedia_sdp_media *m, char *buf, pj_size_t len pj_memcpy(p, m->desc.transport.ptr, m->desc.transport.slen); p += m->desc.transport.slen; for (i=0; i<m->desc.fmt_count; ++i) { if (end-p > m->desc.fmt[i].slen) { *p++ = ' '; pj_memcpy(p, m->desc.fmt[i].ptr, m->desc... | CVE-2022-24764 | {'CWE-121', 'CWE-120'} | 2.9 | {'https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00'} | nvd | PJSIP is a free and open source multimedia communication library written in C. Versions 2.12 and prior contain a stack buffer overflow vulnerability that affects PJSUA2 users or users that call the API `pjmedia_sdp_print(), pjmedia_sdp_media_print()`. Applications that do not use PJSUA2 and do not directly call `pjmedi... | 2022-03-22 | 1 | https://github.com/pjsip/pjproject | https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00 | 560a1346f87aabe126509bb24930106dea292b00 | SINGLE | ['560a1346f87aabe126509bb24930106dea292b00'] | {'601f0c7af11455c87cb6d0b0231bf7694916fc6a'} | 560a1346f87aabe126509bb24930106dea292b00 | 1 | 03/22/2022, 08:30:47 | Merge pull request from GHSA-f5qg-pqcg-765m | Nanang Izzuddin | null | {'additions': 14, 'deletions': 5, 'total': 19} | [
{
"additions": 14,
"changes": 19,
"deletions": 5,
"patch": "@@ -733,12 +733,21 @@ static int print_media_desc(const pjmedia_sdp_media *m, char *buf, pj_size_t len\n pj_memcpy(p, m->desc.transport.ptr, m->desc.transport.slen);\n p += m->desc.transport.slen;\n for (i=0; i<m->desc.fmt_count... | c | CWE-120 | [
"pjmedia/src/pjmedia/sdp.c"
] | pjmedia/src/pjmedia/sdp.c | 1 |
static pj_status_t get_name_len(int rec_counter, const pj_uint8_t *pkt, } else { unsigned label_len = *p; /* Check that label length is valid */ if (pkt+label_len > max) return PJLIB_UTIL_EDNSINNAMEPTR; p += (label_len + 1); static pj_status_t get_name_len(int rec_counter, const pj_uint8_t *pk... | static pj_status_t get_name_len(int rec_counter, const pj_uint8_t *pkt, } else { unsigned label_len = *p; /* Check that label length is valid. * Each label consists of an octet length (of size 1) followed * by the octet of the specified length (label_len). Then it * must be followed by ei... | CVE-2022-24793 | {'CWE-120'} | 2.9 | {'https://github.com/pjsip/pjproject/commit/9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a'} | nvd | PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.12 and prior affects applications that uses PJSIP DNS resolution. It doesn't affect PJSIP users who utilize an external resolver. A patch is available in the `master` branch of the `pjsip/pjproje... | 2022-04-06 | 1 | https://github.com/pjsip/pjproject | https://github.com/pjsip/pjproject/commit/9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a | 9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a | SINGLE | ['9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a'] | {'11559e49e65bdf00922ad5ae28913ec6a198d508'} | 9fae8f43accef8ea65d4a8ae9cdf297c46cfe29a | 1 | 04/06/2022, 03:49:47 | Merge pull request from GHSA-p6g5-v97c-w5q4
* Prevent heap buffer overflow when parsing DNS packets
* Make sure packet parsing doesn't advance beyond max/end
* Update checks
* Remove check
Co-authored-by: sauwming <ming@teluu.com> | Riza Sulistyo | null | {'additions': 18, 'deletions': 10, 'total': 28} | [
{
"additions": 18,
"changes": 28,
"deletions": 10,
"patch": "@@ -159,8 +159,13 @@ static pj_status_t get_name_len(int rec_counter, const pj_uint8_t *pkt,\n \t} else {\n \t unsigned label_len = *p;\n \n-\t /* Check that label length is valid */\n-\t if (pkt+label_len > max)\n+\t /* Check ... | c | CWE-120 | [
"pjlib-util/src/pjlib-util/dns.c"
] | pjlib-util/src/pjlib-util/dns.c | 1 |
export const renderMessage = (message: string, selfId: QualifiedId | null, menti if (containsMentions) { // disable code highlighting if there is a mention in there // highlighting will be wrong anyway because this is not valid code return code; } return hljs.highlightAuto(cod... | export const renderMessage = (message: string, selfId: QualifiedId | null, menti if (containsMentions) { // disable code highlighting if there is a mention in there // highlighting will be wrong anyway because this is not valid code return escape(code); } return hljs.highlight... | CVE-2022-24799 | {'CWE-79'} | 2.9 | {'https://github.com/wireapp/wire-webapp/commit/d14455252a949dc83f36d45e2babbdd9328af2a4'} | nvd | wire-webapp is the web application interface for the wire messaging service. Insufficient escaping in markdown “code highlighting” in the wire-webapp resulted in the possibility of injecting and executing arbitrary HTML code and thus also JavaScript. If a user receives and views such a malicious message, arbitrary code... | 2022-04-20 | 1 | https://github.com/wireapp/wire-webapp | https://github.com/wireapp/wire-webapp/commit/d14455252a949dc83f36d45e2babbdd9328af2a4 | d14455252a949dc83f36d45e2babbdd9328af2a4 | SINGLE | ['d14455252a949dc83f36d45e2babbdd9328af2a4'] | {'6f3bcf8f3fc4aa2da568fc9ef46aabcfe66c9307'} | d14455252a949dc83f36d45e2babbdd9328af2a4 | 1 | 03/30/2022, 12:32:21 | fix: Improve message rendering (#12748) | Thomas Belin | null | {'additions': 3, 'deletions': 3, 'total': 6} | [
{
"additions": 3,
"changes": 6,
"deletions": 3,
"patch": "@@ -138,7 +138,7 @@ export const renderMessage = (message: string, selfId: QualifiedId | null, menti\n if (containsMentions) {\n // disable code highlighting if there is a mention in there\n // highlighting will be wrong... | ts | CWE-79 | [
"src/script/util/messageRenderer.ts"
] | src/script/util/messageRenderer.ts | 1 |
protected function submitForm( WikiRequest $request ) { $out = $form->getContext()->getOutput(); if ( isset( $formData['submit-comment'] ) ) { $request->addComment( $formData['comment'], $form->getUser() ); } elseif ( isset( $formData['submit-edit'] ) ) { $subdomain = $formData['edit-url']; $err = '... | protected function submitForm( WikiRequest $request ) { $out = $form->getContext()->getOutput(); $user = $form->getUser(); if ( $user->isAnon() ) { $out->addHTML( Html::errorBox( wfMessage( 'exception-nologin-text' )->parse() ) ); return false; } elseif ( isset( $formData['submit-comment'] ) ) { ... | CVE-2022-24813 | {'CWE-287', 'CWE-288'} | 2.9 | {'https://github.com/miraheze/CreateWiki/commit/d0ae79843d689832ccac765d6b1721e668d99ab9'} | nvd | CreateWiki is Miraheze's MediaWiki extension for requesting & creating wikis. Without the patch for this issue, anonymous comments can be made using Special:RequestWikiQueue when sent directly via POST. A patch for this issue is available in the `master` branch of CreateWiki's GitHub repository. | 2022-04-04 | 1 | https://github.com/miraheze/CreateWiki | https://github.com/miraheze/CreateWiki/commit/d0ae79843d689832ccac765d6b1721e668d99ab9 | d0ae79843d689832ccac765d6b1721e668d99ab9 | SINGLE | ['d0ae79843d689832ccac765d6b1721e668d99ab9'] | {'4f9fbf8f97519066c077631784c0e5f196507d53'} | d0ae79843d689832ccac765d6b1721e668d99ab9 | 1 | 04/02/2022, 18:18:41 | T9018: Add submission check for anonymous users POSTing | John F. Lewis | null | {'additions': 10, 'deletions': 5, 'total': 15} | [
{
"additions": 10,
"changes": 15,
"deletions": 5,
"patch": "@@ -331,9 +331,14 @@ protected function submitForm(\n \t\tWikiRequest $request\n \t) {\n \t\t$out = $form->getContext()->getOutput();\n-\n-\t\tif ( isset( $formData['submit-comment'] ) ) {\n-\t\t\t$request->addComment( $formData['comment'],... | php | CWE-287 | [
"includes/RequestWiki/RequestWikiRequestViewer.php"
] | includes/RequestWiki/RequestWikiRequestViewer.php | 1 |
const Router = require('express').Router const formidable = require('formidable') const path = require('path') const fs = require('fs') const os = require('os') const rimraf = require('rimraf') const isSvg = require('is-svg') imageRouter.post('/uploadimage', function (req, res) { const tmpDir = fs.mkdtempSync(path.j... | const Router = require('express').Router const formidable = require('formidable') const path = require('path') const fs = require('fs') const { v4: uuidv4 } = require('uuid'); const os = require('os') const rimraf = require('rimraf') const isSvg = require('is-svg') imageRouter.post('/uploadimage', function (req, res) ... | CVE-2022-24837 | {'CWE-434'} | 2.9 | {'https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a'} | nvd | HedgeDoc is an open-source, web-based, self-hosted, collaborative markdown editor. Images uploaded with HedgeDoc version 1.9.1 and later have an enumerable filename after the upload, resulting in potential information leakage of uploaded documents. This is especially relevant for private notes and affects all upload ba... | 2022-04-11 | 1 | https://github.com/hedgedoc/hedgedoc | https://github.com/hedgedoc/hedgedoc/commit/9e2f9e21e904c4a319e84265da7ef03b0a8e343a | 9e2f9e21e904c4a319e84265da7ef03b0a8e343a | SINGLE | ['9e2f9e21e904c4a319e84265da7ef03b0a8e343a'] | {'8dbb92d063b37973fc4914266c5f4abc2127c508'} | 9e2f9e21e904c4a319e84265da7ef03b0a8e343a | 1 | 04/09/2022, 00:36:30 | fix(imageRouter): Fix enumerable image upload issue
This patch adds an own filename function for `formidable`, which will
make sure to generate a random file name, using UUIDv4. This should
resolve GHSA-q6vv-2q26-j7rx.
This change is required due to a change in behaviour from version 1 to
version 2 of formidable. For... | Sheogorath | null | {'additions': 8, 'deletions': 1, 'total': 9} | [
{
"additions": 8,
"changes": 9,
"deletions": 1,
"patch": "@@ -4,6 +4,7 @@ const Router = require('express').Router\n const formidable = require('formidable')\n const path = require('path')\n const fs = require('fs')\n+const { v4: uuidv4 } = require('uuid');\n const os = require('os')\n const rimraf ... | js | CWE-434 | [
"lib/web/imageRouter/index.js"
] | lib/web/imageRouter/index.js | 1 |
public static function unclean_cross_side_scripting_deep($value) public static function getHtmLawedSafeConfig(): array { $config = [ 'elements' => '* -applet -canvas -embed -form -object -script', 'deny_attribute' => 'on*, srcdoc', 'comment' => 1, ... | public static function unclean_cross_side_scripting_deep($value) public static function getHtmLawedSafeConfig(): array { $config = [ 'elements' => '* -applet -canvas -embed -form -object -script -link', 'deny_attribute' => 'on*, srcdoc', 'comment' ... | CVE-2022-24869 | {'CWE-79'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/ac9f1f03c5d2545b7e290197dbfebc3f752f810e'} | nvd | GLPI is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. In versions prior to 10.0.0 one can use ticket's followups or setup login messages with a stylesheet link. This may allow for a cross site scripting attack vector. This issue is pa... | 2022-04-21 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/ac9f1f03c5d2545b7e290197dbfebc3f752f810e | ac9f1f03c5d2545b7e290197dbfebc3f752f810e | SINGLE | ['ac9f1f03c5d2545b7e290197dbfebc3f752f810e'] | {'1aa9fcc4741a46fa5a9f11d71b409b911ffc190f'} | ac9f1f03c5d2545b7e290197dbfebc3f752f810e | 1 | 04/20/2022, 07:40:28 | Merge pull request from GHSA-p94c-8qp5-gfpx | Cédric Anne | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -309,7 +309,7 @@ public static function unclean_cross_side_scripting_deep($value)\n public static function getHtmLawedSafeConfig(): array\n {\n $config = [\n- 'elements' => '* -applet -canvas -embed -form... | php | CWE-79 | [
"src/Toolbox.php"
] | src/Toolbox.php | 1 |
import SearchInput from "../SearchTokenizer/SearchInput.js"; /* global sortable */ /* global glpi_toast_error */ class GLPIKanbanRights { l.append(` <div class="member-details"> ${member_item} ${l.attr('data-name') || `${member... | import SearchInput from "../SearchTokenizer/SearchInput.js"; /* global escapeMarkupText */ /* global sortable */ /* global glpi_toast_error */ class GLPIKanbanRights { l.append(` <div class="member-details"> ${member_item} ${es... | CVE-2022-24876 | {'CWE-79'} | 2.9 | {'https://github.com/glpi-project/glpi/commit/9a3c7487c8761eaa8f3b07589d6dcdfa5d1e4ed6'} | nvd | GLPI is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing. Kanban is a GLPI view to display Projects, Tickets, Changes or Problems on a task board. In versions prior to 10.0.1 a user can exploit a cross site scripting vulnerability in Kanb... | 2022-06-09 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/9a3c7487c8761eaa8f3b07589d6dcdfa5d1e4ed6 | 9a3c7487c8761eaa8f3b07589d6dcdfa5d1e4ed6 | SINGLE | ['9a3c7487c8761eaa8f3b07589d6dcdfa5d1e4ed6'] | {'fe57c6d508e375790fda12f21001997727e8ccf5'} | 9a3c7487c8761eaa8f3b07589d6dcdfa5d1e4ed6 | 1 | 05/31/2022, 08:04:12 | Merge pull request from GHSA-33g2-m556-gccr | Cédric Anne | null | {'additions': 2, 'deletions': 1, 'total': 3} | [
{
"additions": 2,
"changes": 3,
"deletions": 1,
"patch": "@@ -33,6 +33,7 @@\n \n import SearchInput from \"../SearchTokenizer/SearchInput.js\";\n \n+/* global escapeMarkupText */\n /* global sortable */\n /* global glpi_toast_error */\n \n@@ -2447,7 +2448,7 @@ class GLPIKanbanRights {\n ... | js | CWE-79 | [
"js/modules/Kanban/Kanban.js"
] | js/modules/Kanban/Kanban.js | 1 |
static int yam_siocdevprivate(struct net_device *dev, struct ifreq *ifr, void __ ym = memdup_user(data, sizeof(struct yamdrv_ioctl_mcs)); if (IS_ERR(ym)) return PTR_ERR(ym); if (ym->cmd != SIOCYAMSMCS) return -EINVAL; if (ym->bitrate > YAM_MAXBITRATE) { kfree(ym); return -EINVAL; } | static int yam_siocdevprivate(struct net_device *dev, struct ifreq *ifr, void __ ym = memdup_user(data, sizeof(struct yamdrv_ioctl_mcs)); if (IS_ERR(ym)) return PTR_ERR(ym); if (ym->cmd != SIOCYAMSMCS || ym->bitrate > YAM_MAXBITRATE) { kfree(ym); return -EINVAL; } | CVE-2022-24959 | {'CWE-401'} | 2.9 | {'https://github.com/torvalds/linux/commit/29eb31542787e1019208a2e1047bb7c76c069536'} | nvd | An issue was discovered in the Linux kernel before 5.16.5. There is a memory leak in yam_siocdevprivate in drivers/net/hamradio/yam.c. | 2022-02-11 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/29eb31542787e1019208a2e1047bb7c76c069536 | 29eb31542787e1019208a2e1047bb7c76c069536 | SINGLE | ['29eb31542787e1019208a2e1047bb7c76c069536'] | {'c74ead223deb88bdf18af8c772d7ca5a9b6c3c2b'} | 29eb31542787e1019208a2e1047bb7c76c069536 | 1 | 01/24/2022, 03:29:54 | yam: fix a memory leak in yam_siocdevprivate()
ym needs to be free when ym->cmd != SIOCYAMSMCS.
Fixes: 0781168e23a2 ("yam: fix a missing-check bug")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net> | Hangyu Hua | null | {'additions': 1, 'deletions': 3, 'total': 4} | [
{
"additions": 1,
"changes": 4,
"deletions": 3,
"patch": "@@ -950,9 +950,7 @@ static int yam_siocdevprivate(struct net_device *dev, struct ifreq *ifr, void __\n \t\tym = memdup_user(data, sizeof(struct yamdrv_ioctl_mcs));\n \t\tif (IS_ERR(ym))\n \t\t\treturn PTR_ERR(ym);\n-\t\tif (ym->cmd != SIOCYAM... | c | CWE-401 | [
"drivers/net/hamradio/yam.c"
] | drivers/net/hamradio/yam.c | 1 |
composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) if (w_index != 0x5 || (w_value >> 8)) break; interface = w_value & 0xFF; buf[6] = w_index; count = count_ext_prop(os_desc_cfg, interface); | composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl) if (w_index != 0x5 || (w_value >> 8)) break; interface = w_value & 0xFF; if (interface >= MAX_CONFIG_INTERFACES || !os_desc_cfg->interface[interface]) break; buf[6] = w_index; count = count_ext_prop(os_... | CVE-2022-25258 | {'CWE-476'} | 6.9 | {'https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c'} | nvd | An issue was discovered in drivers/usb/gadget/composite.c in the Linux kernel before 5.16.10. The USB Gadget subsystem lacks certain validation of interface OS descriptor requests (ones with a large array index and ones associated with NULL function pointer retrieval). Memory corruption might occur. | 2022-02-16 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/75e5b4849b81e19e9efe1654b30d7f3151c33c2c | 75e5b4849b81e19e9efe1654b30d7f3151c33c2c | SINGLE | ['75e5b4849b81e19e9efe1654b30d7f3151c33c2c'] | {'c853685d11c09da35cb49bbf8f0c001abdc0d0a9'} | 75e5b4849b81e19e9efe1654b30d7f3151c33c2c | 1 | 01/24/2022, 11:14:00 | USB: gadget: validate interface OS descriptor requests
Stall the control endpoint in case provided index exceeds array size of
MAX_CONFIG_INTERFACES or when the retrieved function pointer is null.
Signed-off-by: Szymon Heidrich <szymon.heidrich@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregk... | Szymon Heidrich | null | {'additions': 3, 'deletions': 0, 'total': 3} | [
{
"additions": 3,
"changes": 3,
"deletions": 0,
"patch": "@@ -1988,6 +1988,9 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)\n \t\t\t\tif (w_index != 0x5 || (w_value >> 8))\n \t\t\t\t\tbreak;\n \t\t\t\tinterface = w_value & 0xFF;\n+\t\t\t\tif (interface >= MAX_CONFI... | c | CWE-476 | [
"drivers/usb/gadget/composite.c"
] | drivers/usb/gadget/composite.c | 1 |
'%s%s%s%s%s%s', empty($data['description']) ? '' : sprintf( '<div class="pb-2 fw-light">%s</div>', $data['description'] ), $ajaxFlashMessage, $formCreate, '%s%s%s%s%s%s', empt... | '%s%s%s%s%s%s', empty($data['description']) ? '' : sprintf( '<div class="pb-2 fw-light">%s</div>', h($data['description']) ), $ajaxFlashMessage, $formCreate, '%s%s%s%s%s%s', e... | CVE-2022-25317 | {'CWE-79'} | 2.9 | {'https://github.com/cerebrate-project/cerebrate/commit/e60d97c214f9ac6df90c87241b3b3554afc06238'} | nvd | An issue was discovered in Cerebrate through 1.4. genericForm allows reflected XSS in form descriptions via a user-controlled description. | 2022-02-18 | 1 | https://github.com/cerebrate-project/cerebrate | https://github.com/cerebrate-project/cerebrate/commit/e60d97c214f9ac6df90c87241b3b3554afc06238 | e60d97c214f9ac6df90c87241b3b3554afc06238 | SINGLE | ['e60d97c214f9ac6df90c87241b3b3554afc06238'] | {'5fbd53883f943612daf4c14ec90f6e0bea3c2680'} | e60d97c214f9ac6df90c87241b3b3554afc06238 | 1 | 02/03/2022, 22:54:47 | fix: [security] genericForm reflected XSS in form descriptions for user controlled descriptions
- accessible via the MISP local tool setting change
- sanitise the description
- as reported by Dawid Czarnecki from Zigrin Security | iglocska | null | {'additions': 3, 'deletions': 3, 'total': 6} | [
{
"additions": 3,
"changes": 6,
"deletions": 3,
"patch": "@@ -106,7 +106,7 @@\n '%s%s%s%s%s%s',\n empty($data['description']) ? '' : sprintf(\n '<div class=\"pb-2 fw-light\">%s</div>',\n- $data['description']\n+ ... | php | CWE-79 | [
"templates/element/genericElements/Form/genericForm.php"
] | templates/element/genericElements/Form/genericForm.php | 1 |
int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, return -ENOMEM; transaction->aid_len = skb->data[1]; memcpy(transaction->aid, &skb->data[2], transaction->aid_len); int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, return -EPROTO; transaction... | int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host, return -ENOMEM; transaction->aid_len = skb->data[1]; /* Checking if the length of the AID is valid */ if (transaction->aid_len > sizeof(transaction->aid)) return -EINVAL; memcpy(transaction->aid, &skb->data[2], transa... | CVE-2022-26490 | {'CWE-120'} | 6.4 | {'https://github.com/torvalds/linux/commit/4fbcc1a4cb20fe26ad0225679c536c80f1648221'} | nvd | st21nfca_connectivity_event_received in drivers/nfc/st21nfca/se.c in the Linux kernel through 5.16.12 has EVT_TRANSACTION buffer overflows because of untrusted length parameters. | 2022-03-06 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/4fbcc1a4cb20fe26ad0225679c536c80f1648221 | 4fbcc1a4cb20fe26ad0225679c536c80f1648221 | SINGLE | ['4fbcc1a4cb20fe26ad0225679c536c80f1648221'] | {'2a4d75bfe41232608f5596a6d1369f92ccb20817'} | 4fbcc1a4cb20fe26ad0225679c536c80f1648221 | 1 | 01/11/2022, 16:44:51 | nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION
It appears that there are some buffer overflows in EVT_TRANSACTION.
This happens because the length parameters that are passed to memcpy
come directly from skb->data and are not guarded in any way.
Signed-off-by: Jordy Zomer <jordy@pwning.systems>
Revie... | Jordy Zomer | null | {'additions': 10, 'deletions': 0, 'total': 10} | [
{
"additions": 10,
"changes": 10,
"deletions": 0,
"patch": "@@ -316,6 +316,11 @@ int st21nfca_connectivity_event_received(struct nfc_hci_dev *hdev, u8 host,\n \t\t\treturn -ENOMEM;\n \n \t\ttransaction->aid_len = skb->data[1];\n+\n+\t\t/* Checking if the length of the AID is valid */\n+\t\tif (trans... | c | CWE-120 | [
"drivers/nfc/st21nfca/se.c"
] | drivers/nfc/st21nfca/se.c | 1 |
parse_options(const char *data, struct parsed_mount_info *parsed_info) if (!value || !*value) { fprintf(stderr, "target ip address argument missing\n"); } else if (strnlen(value, MAX_ADDRESS_LEN) <= MAX_ADDRESS_LEN) { strcpy(parsed_info->addrlist, value); if (parsed_info->verboseflag) f... | parse_options(const char *data, struct parsed_mount_info *parsed_info) if (!value || !*value) { fprintf(stderr, "target ip address argument missing\n"); } else if (strnlen(value, MAX_ADDRESS_LEN) < MAX_ADDRESS_LEN) { strlcpy(parsed_info->addrlist, value, MAX_ADDRESS_LEN); if (parsed_inf... | CVE-2022-27239 | {'CWE-787'} | 10 | {'https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765'} | nvd | In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges. | 2022-04-27 | 1 | https://github.com/piastry/cifs-utils | https://github.com/piastry/cifs-utils/pull/7/commits/955fb147e97a6a74e1aaa65766de91e2c1479765 | 955fb147e97a6a74e1aaa65766de91e2c1479765 | SINGLE | ['955fb147e97a6a74e1aaa65766de91e2c1479765'] | {'8c06dce7d596e478c20bc54bdcec87ad97f80a1b'} | 955fb147e97a6a74e1aaa65766de91e2c1479765 | 1 | 03/17/2022, 16:58:52 | CVE-2022-27239: mount.cifs: fix length check for ip option parsing
Previous check was true whatever the length of the input string was,
leading to a buffer overflow in the subsequent strcpy call.
Bug: https://bugzilla.samba.org/show_bug.cgi?id=15025
Signed-off-by: Jeffrey Bencteux <jbe@improsec.com>
Reviewed-by: Dav... | Jeffrey Bencteux | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -926,9 +926,10 @@ parse_options(const char *data, struct parsed_mount_info *parsed_info)\n \t\t\tif (!value || !*value) {\n \t\t\t\tfprintf(stderr,\n \t\t\t\t\t\"target ip address argument missing\\n\");\n-\t\t\t} else if (strnlen(value, M... | c | CWE-787 | [
"mount.cifs.c"
] | mount.cifs.c | 1 |
static int check_assertion(struct config_module * config, json_t * j_params, con break; } if (!o_base64url_decode((const unsigned char *)json_string_value(json_object_get(json_object_get(json_object_get(j_scheme_data, "credential"), "response"), "signature")), json_string_length(json_object_get(js... | static int check_assertion(struct config_module * config, json_t * j_params, con break; } if (!o_base64_decode((const unsigned char *)json_string_value(json_object_get(json_object_get(json_object_get(j_scheme_data, "credential"), "response"), "signature")), json_string_length(json_object_get(json_... | CVE-2022-27240 | {'CWE-120'} | 6.4 | {'https://github.com/babelouest/glewlwyd/commit/4c5597c155bfbaf6491cf6b83479d241ae66940a'} | nvd | scheme/webauthn.c in Glewlwyd SSO server 2.x before 2.6.2 has a buffer overflow associated with a webauthn assertion. | 2022-03-18 | 1 | https://github.com/babelouest/glewlwyd | https://github.com/babelouest/glewlwyd/commit/4c5597c155bfbaf6491cf6b83479d241ae66940a | 4c5597c155bfbaf6491cf6b83479d241ae66940a | SINGLE | ['4c5597c155bfbaf6491cf6b83479d241ae66940a'] | {'a7ddc5b3c2981cf15fc477fbd12397afcc559e4b'} | 4c5597c155bfbaf6491cf6b83479d241ae66940a | 1 | 03/17/2022, 23:49:30 | Fix possible buffer overflow | babelouest | null | {'additions': 14, 'deletions': 2, 'total': 16} | [
{
"additions": 14,
"changes": 16,
"deletions": 2,
"patch": "@@ -2636,11 +2636,23 @@ static int check_assertion(struct config_module * config, json_t * j_params, con\n break;\n }\n \n- if (!o_base64url_decode((const unsigned char *)json_string_value(json_object_get(json_object_get(... | c | CWE-120 | [
"src/scheme/webauthn.c"
] | src/scheme/webauthn.c | 1 |
function getHostOnlyFromURL($url) { */ function getDeviceID($useRandomString = true) { $ip = md5(getRealIpAddr()); if (empty($_SERVER['HTTP_USER_AGENT'])) { $device = "unknowDevice-{$ip}"; $device .= '-' . intval(User::getId()); return $device; } if (empty($useRandomString)) {... | function getHostOnlyFromURL($url) { */ function getDeviceID($useRandomString = true) { $ip = md5(getRealIpAddr()); $pattern = "/[0-9a-z_.-]/i"; if (empty($_SERVER['HTTP_USER_AGENT'])) { $device = "unknowDevice-{$ip}"; $device .= '-' . intval(User::getId()); return preg_replace($pat... | CVE-2022-27462 | {'CWE-79'} | 2.9 | {'https://github.com/WWBN/AVideo/commit/3722335f808484e6bfb5e71028fedddd942add4a'} | nvd | Cross Site Scripting (XSS) vulnerability in objects/function.php in function getDeviceID in WWBN AVideo through 11.6, via the yptDevice parameter to view/include/head.php. | 2022-04-05 | 1 | https://github.com/WWBN/AVideo | https://github.com/WWBN/AVideo/commit/3722335f808484e6bfb5e71028fedddd942add4a | 3722335f808484e6bfb5e71028fedddd942add4a | SINGLE | ['3722335f808484e6bfb5e71028fedddd942add4a'] | {'3121b8a1bed2cff24ddec49701d06fd707191790'} | 3722335f808484e6bfb5e71028fedddd942add4a | 1 | 03/13/2022, 14:00:47 | XSS vulnerability fix , thanks Max Boll | Daniel | null | {'additions': 4, 'deletions': 4, 'total': 8} | [
{
"additions": 4,
"changes": 8,
"deletions": 4,
"patch": "@@ -5783,10 +5783,11 @@ function getHostOnlyFromURL($url) {\n */\n function getDeviceID($useRandomString = true) {\n $ip = md5(getRealIpAddr());\n+ $pattern = \"/[0-9a-z_.-]/i\";\n if (empty($_SERVER['HTTP_USER_AGENT'])) {\n ... | php | CWE-79 | [
"objects/functions.php"
] | objects/functions.php | 1 |
static SDL_Surface* Create_Surface_Solid(int width, int height, SDL_Color fg, Ui */ void *pixels, *ptr; /* Worse case at the end of line pulling 'alignment' extra blank pixels */ Sint64 pitch = width + alignment; pitch += alignment; pitch &= ~alignment; size = height * pitch + sizeof (void... | static SDL_Surface* Create_Surface_Solid(int width, int height, SDL_Color fg, Ui */ void *pixels, *ptr; /* Worse case at the end of line pulling 'alignment' extra blank pixels */ Sint64 pitch = (Sint64)width + (Sint64)alignment; pitch += alignment; pitch &= ~alignment; size = height * pitc... | CVE-2022-27470 | {'CWE-787'} | 6.4 | {'https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448'} | nvd | SDL_ttf v2.0.18 and below was discovered to contain an arbitrary memory write via the function TTF_RenderText_Solid(). This vulnerability is triggered via a crafted TTF file. | 2022-05-04 | 1 | https://github.com/libsdl-org/SDL_ttf | https://github.com/libsdl-org/SDL_ttf/commit/db1b41ab8bde6723c24b866e466cad78c2fa0448 | db1b41ab8bde6723c24b866e466cad78c2fa0448 | SINGLE | ['db1b41ab8bde6723c24b866e466cad78c2fa0448'] | {'09a2294338d7907ae955b07affdac229546f9cc9'} | db1b41ab8bde6723c24b866e466cad78c2fa0448 | 1 | 03/19/2022, 19:40:28 | More integer overflow (see bug #187)
Make sure that 'width + alignment' doesn't overflow, otherwise
it could create a SDL_Surface of 'width' but with wrong 'pitch' | Sylvain | null | {'additions': 3, 'deletions': 3, 'total': 6} | [
{
"additions": 3,
"changes": 6,
"deletions": 3,
"patch": "@@ -1257,7 +1257,7 @@ static SDL_Surface* Create_Surface_Solid(int width, int height, SDL_Color fg, Ui\n */\n void *pixels, *ptr;\n /* Worse case at the end of line pulling 'alignment' extra blank pixels */\n- Sint64 pitch = w... | c | CWE-787 | [
"SDL_ttf.c"
] | SDL_ttf.c | 1 |
public static function displayAlertV2($message, $type) <p class="mb-0">' . $message["footer"] . '</p> </div>'; } } | public static function displayAlertV2($message, $type) <p class="mb-0">' . $message["footer"] . '</p> </div>'; } public static function sanitize_xss($value) { return htmlspecialchars(strip_tags($value)); } } | CVE-2022-27475 | {'CWE-79'} | 2.9 | {'https://github.com/tramyardg/hotel-mgmt-system/commit/3aa5fdd736927f4ba8d4b7efbba850a258ab42ce'} | nvd | Cross site scripting (XSS) vulnerability in tramyardg hotel-mgmt-system, allows attackers to execute arbitrary code when when /admin.php is loaded. | 2022-04-13 | 1 | https://github.com/tramyardg/hotel-mgmt-system | https://github.com/tramyardg/hotel-mgmt-system/commit/3aa5fdd736927f4ba8d4b7efbba850a258ab42ce | 3aa5fdd736927f4ba8d4b7efbba850a258ab42ce | SINGLE | ['3aa5fdd736927f4ba8d4b7efbba850a258ab42ce'] | {'2a9161eb90666db03267359f6c4bff8175e5a0b0'} | 3aa5fdd736927f4ba8d4b7efbba850a258ab42ce | 1 | 03/28/2022, 02:47:33 | + sanitize xss function | Raymart De Guzman | null | {'additions': 7, 'deletions': 0, 'total': 7} | [
{
"additions": 7,
"changes": 7,
"deletions": 0,
"patch": "@@ -36,4 +36,11 @@ public static function displayAlertV2($message, $type)\n <p class=\"mb-0\">' . $message[\"footer\"] . '</p>\n </div>';\n }\n+\n+ public static function sanitize_xss($value) \n+ {\n+ return h... | php | CWE-79 | [
"app/Util.php"
] | app/Util.php | 1 |
static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id) return 0; err_free: kfree(priv); return ret; } | static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id) return 0; err_free: usb_put_dev(udev); kfree(priv); return ret; } | CVE-2022-27950 | {'CWE-401'} | 2.9 | {'https://github.com/torvalds/linux/commit/817b8b9c5396d2b2d92311b46719aad5d3339dbe'} | nvd | In drivers/hid/hid-elo.c in the Linux kernel before 5.16.11, a memory leak exists for a certain hid_parse error condition. | 2022-03-28 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/817b8b9c5396d2b2d92311b46719aad5d3339dbe | 817b8b9c5396d2b2d92311b46719aad5d3339dbe | SINGLE | ['817b8b9c5396d2b2d92311b46719aad5d3339dbe'] | {'e26a78057c25dd56f112d536319c38735ed92ba4'} | 817b8b9c5396d2b2d92311b46719aad5d3339dbe | 1 | 01/22/2022, 09:48:26 | HID: elo: fix memory leak in elo_probe
When hid_parse() in elo_probe() fails, it forgets to call usb_put_dev to
decrease the refcount.
Fix this by adding usb_put_dev() in the error handling code of elo_probe().
Fixes: fbf42729d0e9 ("HID: elo: update the reference count of the usb device structure")
Reported-by: syzk... | Dongliang Mu | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -262,6 +262,7 @@ static int elo_probe(struct hid_device *hdev, const struct hid_device_id *id)\n \n \treturn 0;\n err_free:\n+\tusb_put_dev(udev);\n \tkfree(priv);\n \treturn ret;\n }",
"path": "drivers/hid/hid-elo.c",
"raw_url": "... | c | CWE-401 | [
"drivers/hid/hid-elo.c"
] | drivers/hid/hid-elo.c | 1 |
static netdev_tx_t usb_8dev_start_xmit(struct sk_buff *skb, atomic_inc(&priv->active_tx_urbs); err = usb_submit_urb(urb, GFP_ATOMIC); if (unlikely(err)) goto failed; else if (atomic_read(&priv->active_tx_urbs) >= MAX_TX_URBS) /* Slow down tx path */ netif_stop_queue(netdev); static netdev_tx_t usb_8dev_sta... | static netdev_tx_t usb_8dev_start_xmit(struct sk_buff *skb, atomic_inc(&priv->active_tx_urbs); err = usb_submit_urb(urb, GFP_ATOMIC); if (unlikely(err)) { can_free_echo_skb(netdev, context->echo_index, NULL); usb_unanchor_urb(urb); usb_free_coherent(priv->udev, size, buf, urb->transfer_dma); atomic_dec(&... | CVE-2022-28388 | {'CWE-415'} | 6.4 | {'https://github.com/torvalds/linux/commit/3d3925ff6433f98992685a9679613a2cc97f3ce2'} | nvd | usb_8dev_start_xmit in drivers/net/can/usb/usb_8dev.c in the Linux kernel through 5.17.1 has a double free. | 2022-04-03 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/3d3925ff6433f98992685a9679613a2cc97f3ce2 | 3d3925ff6433f98992685a9679613a2cc97f3ce2 | SINGLE | ['3d3925ff6433f98992685a9679613a2cc97f3ce2'] | {'c70222752228a62135cee3409dccefd494a24646'} | 3d3925ff6433f98992685a9679613a2cc97f3ce2 | 1 | 03/11/2022, 08:06:14 | can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
There is no need to call dev_kfree_skb() when usb_submit_urb() fails
because can_put_echo_skb() deletes original skb and
can_free_echo_skb() deletes the cloned skb.
Fixes: 0024d8ad1639 ("can: usb_8dev: Add support for USB2CAN interface fro... | Hangyu Hua | null | {'additions': 14, 'deletions': 16, 'total': 30} | [
{
"additions": 14,
"changes": 30,
"deletions": 16,
"patch": "@@ -663,9 +663,20 @@ static netdev_tx_t usb_8dev_start_xmit(struct sk_buff *skb,\n \tatomic_inc(&priv->active_tx_urbs);\n \n \terr = usb_submit_urb(urb, GFP_ATOMIC);\n-\tif (unlikely(err))\n-\t\tgoto failed;\n-\telse if (atomic_read(&priv-... | c | CWE-415 | [
"drivers/net/can/usb/usb_8dev.c"
] | drivers/net/can/usb/usb_8dev.c | 1 |
static netdev_tx_t mcba_usb_start_xmit(struct sk_buff *skb, xmit_failed: can_free_echo_skb(priv->netdev, ctx->ndx, NULL); mcba_usb_free_ctx(ctx); dev_kfree_skb(skb); stats->tx_dropped++; return NETDEV_TX_OK; | static netdev_tx_t mcba_usb_start_xmit(struct sk_buff *skb, xmit_failed: can_free_echo_skb(priv->netdev, ctx->ndx, NULL); mcba_usb_free_ctx(ctx); stats->tx_dropped++; return NETDEV_TX_OK; | CVE-2022-28389 | {'CWE-415'} | 6.4 | {'https://github.com/torvalds/linux/commit/04c9b00ba83594a29813d6b1fb8fdc93a3915174'} | nvd | mcba_usb_start_xmit in drivers/net/can/usb/mcba_usb.c in the Linux kernel through 5.17.1 has a double free. | 2022-04-03 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/04c9b00ba83594a29813d6b1fb8fdc93a3915174 | 04c9b00ba83594a29813d6b1fb8fdc93a3915174 | SINGLE | ['04c9b00ba83594a29813d6b1fb8fdc93a3915174'] | {'3d3925ff6433f98992685a9679613a2cc97f3ce2'} | 04c9b00ba83594a29813d6b1fb8fdc93a3915174 | 1 | 03/11/2022, 08:02:08 | can: mcba_usb: mcba_usb_start_xmit(): fix double dev_kfree_skb in error path
There is no need to call dev_kfree_skb() when usb_submit_urb() fails
because can_put_echo_skb() deletes original skb and
can_free_echo_skb() deletes the cloned skb.
Fixes: 51f3baad7de9 ("can: mcba_usb: Add support for Microchip CAN BUS Analy... | Hangyu Hua | null | {'additions': 0, 'deletions': 1, 'total': 1} | [
{
"additions": 0,
"changes": 1,
"deletions": 1,
"patch": "@@ -364,7 +364,6 @@ static netdev_tx_t mcba_usb_start_xmit(struct sk_buff *skb,\n xmit_failed:\n \tcan_free_echo_skb(priv->netdev, ctx->ndx, NULL);\n \tmcba_usb_free_ctx(ctx);\n-\tdev_kfree_skb(skb);\n \tstats->tx_dropped++;\n \n \treturn NET... | c | CWE-415 | [
"drivers/net/can/usb/mcba_usb.c"
] | drivers/net/can/usb/mcba_usb.c | 1 |
static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *ne usb_unanchor_urb(urb); usb_free_coherent(dev->udev, size, buf, urb->transfer_dma); dev_kfree_skb(skb); atomic_dec(&dev->active_tx_urbs); | static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *ne usb_unanchor_urb(urb); usb_free_coherent(dev->udev, size, buf, urb->transfer_dma); atomic_dec(&dev->active_tx_urbs); | CVE-2022-28390 | {'CWE-415'} | 6.4 | {'https://github.com/torvalds/linux/commit/c70222752228a62135cee3409dccefd494a24646'} | nvd | ems_usb_start_xmit in drivers/net/can/usb/ems_usb.c in the Linux kernel through 5.17.1 has a double free. | 2022-04-03 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/c70222752228a62135cee3409dccefd494a24646 | c70222752228a62135cee3409dccefd494a24646 | SINGLE | ['c70222752228a62135cee3409dccefd494a24646'] | {'2e8e79c416aae1de224c0f1860f2e3350fa171f8'} | c70222752228a62135cee3409dccefd494a24646 | 1 | 02/28/2022, 08:36:39 | can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path
There is no need to call dev_kfree_skb() when usb_submit_urb() fails
beacause can_put_echo_skb() deletes the original skb and
can_free_echo_skb() deletes the cloned skb.
Link: https://lore.kernel.org/all/20220228083639.38183-1-hbh25y@gmail.c... | Hangyu Hua | null | {'additions': 0, 'deletions': 1, 'total': 1} | [
{
"additions": 0,
"changes": 1,
"deletions": 1,
"patch": "@@ -819,7 +819,6 @@ static netdev_tx_t ems_usb_start_xmit(struct sk_buff *skb, struct net_device *ne\n \n \t\tusb_unanchor_urb(urb);\n \t\tusb_free_coherent(dev->udev, size, buf, urb->transfer_dma);\n-\t\tdev_kfree_skb(skb);\n \n \t\tatomic_d... | c | CWE-415 | [
"drivers/net/can/usb/ems_usb.c"
] | drivers/net/can/usb/ems_usb.c | 1 |
public virtual async Task<IActionResult> BackupAction(MaintenanceModel model) var action = Request.Form["action"]; var fileName = Request.Form["backupFileName"]; var backupPath = _maintenanceService.GetBackupPath(fileName); try | public virtual async Task<IActionResult> BackupAction(MaintenanceModel model) var action = Request.Form["action"]; var fileName = Request.Form["backupFileName"]; fileName = _fileProvider.GetFileName(_fileProvider.GetAbsolutePath(fileName)); var backupPath = _maintenanc... | CVE-2022-28451 | {'CWE-22'} | 2.9 | {'https://github.com/nopSolutions/nopCommerce/commit/47ff9a241243db9359f10216bcf401baaa36d0b4'} | nvd | nopCommerce 4.50.1 is vulnerable to Directory Traversal via the backup file in the Maintenance feature. | 2022-05-02 | 1 | https://github.com/nopSolutions/nopCommerce | https://github.com/nopSolutions/nopCommerce/commit/47ff9a241243db9359f10216bcf401baaa36d0b4 | 47ff9a241243db9359f10216bcf401baaa36d0b4 | SINGLE | ['47ff9a241243db9359f10216bcf401baaa36d0b4'] | {'510b2d493a74d5719279b7c82edce2ef2b7f2ed1'} | 47ff9a241243db9359f10216bcf401baaa36d0b4 | 1 | 03/28/2022, 08:12:02 | Fixed a possible issue with database backup filenames | skoshelev | null | {'additions': 2, 'deletions': 0, 'total': 2} | [
{
"additions": 2,
"changes": 2,
"deletions": 0,
"patch": "@@ -262,6 +262,8 @@ public virtual async Task<IActionResult> BackupAction(MaintenanceModel model)\n var action = Request.Form[\"action\"];\n \n var fileName = Request.Form[\"backupFileName\"];\n+ fileName = ... | cs | CWE-22 | [
"src/Presentation/Nop.Web/Areas/Admin/Controllers/CommonController.cs"
] | src/Presentation/Nop.Web/Areas/Admin/Controllers/CommonController.cs | 1 |
EXPORT_SYMBOL(jbd2_journal_restart); */ void jbd2_journal_wait_updates(journal_t *journal) { transaction_t *commit_transaction = journal->j_running_transaction; if (!commit_transaction) return; spin_lock(&commit_transaction->t_handle_lock); while (atomic_read(&commit_transaction->t_updates)) { DEFINE_WAIT(w... | EXPORT_SYMBOL(jbd2_journal_restart); */ void jbd2_journal_wait_updates(journal_t *journal) { DEFINE_WAIT(wait); while (1) { /* * Note that the running transaction can get freed under us if * this transaction is getting committed in * jbd2_journal_commit_transaction() -> * jbd2_journal_free_transactio... | CVE-2022-28796 | {'CWE-416'} | 10 | {'https://github.com/torvalds/linux/commit/cc16eecae687912238ee6efbff71ad31e2bc414e'} | nvd | jbd2_journal_wait_updates in fs/jbd2/transaction.c in the Linux kernel before 5.17.1 has a use-after-free caused by a transaction_t race condition. | 2022-04-08 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/cc16eecae687912238ee6efbff71ad31e2bc414e | cc16eecae687912238ee6efbff71ad31e2bc414e | SINGLE | ['cc16eecae687912238ee6efbff71ad31e2bc414e'] | {'e3952fcce1aad934f1322843b564ff86256444b2'} | cc16eecae687912238ee6efbff71ad31e2bc414e | 1 | 02/10/2022, 15:37:11 | jbd2: fix use-after-free of transaction_t race
jbd2_journal_wait_updates() is called with j_state_lock held. But if
there is a commit in progress, then this transaction might get committed
and freed via jbd2_journal_commit_transaction() ->
jbd2_journal_free_transaction(), when we release j_state_lock.
So check for jou... | Ritesh Harjani | null | {'additions': 25, 'deletions': 16, 'total': 41} | [
{
"additions": 25,
"changes": 41,
"deletions": 16,
"patch": "@@ -842,27 +842,38 @@ EXPORT_SYMBOL(jbd2_journal_restart);\n */\n void jbd2_journal_wait_updates(journal_t *journal)\n {\n-\ttransaction_t *commit_transaction = journal->j_running_transaction;\n+\tDEFINE_WAIT(wait);\n \n-\tif (!commit_tra... | c | CWE-416 | [
"fs/jbd2/transaction.c"
] | fs/jbd2/transaction.c | 1 |
static void rtrs_clt_dev_release(struct device *dev) struct rtrs_clt_sess *clt = container_of(dev, struct rtrs_clt_sess, dev); kfree(clt); } static struct rtrs_clt_sess *alloc_clt(const char *sessname, size_t paths_num, return ERR_PTR(-ENOMEM); } uuid_gen(&clt->paths_uuid); INIT_LIST_HEAD_RCU(&clt->pa... | static void rtrs_clt_dev_release(struct device *dev) struct rtrs_clt_sess *clt = container_of(dev, struct rtrs_clt_sess, dev); mutex_destroy(&clt->paths_ev_mutex); mutex_destroy(&clt->paths_mutex); kfree(clt); } static struct rtrs_clt_sess *alloc_clt(const char *sessname, size_t paths_num, return ERR_PT... | CVE-2022-29156 | {'CWE-415'} | 10 | {'https://github.com/torvalds/linux/commit/8700af2cc18c919b2a83e74e0479038fd113c15d'} | nvd | drivers/infiniband/ulp/rtrs/rtrs-clt.c in the Linux kernel before 5.16.12 has a double free related to rtrs_clt_dev_release. | 2022-04-13 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/8700af2cc18c919b2a83e74e0479038fd113c15d | 8700af2cc18c919b2a83e74e0479038fd113c15d | SINGLE | ['8700af2cc18c919b2a83e74e0479038fd113c15d'] | {'32f57cb1b2c8d6f20aefec7052b1bfeb7e3b69d4'} | 8700af2cc18c919b2a83e74e0479038fd113c15d | 1 | 02/17/2022, 03:09:28 | RDMA/rtrs-clt: Fix possible double free in error case
Callback function rtrs_clt_dev_release() for put_device() calls kfree(clt)
to free memory. We shouldn't call kfree(clt) again, and we can't use the
clt after kfree too.
Replace device_register() with device_initialize() and device_add() so that
dev_set_name can() ... | Md Haris Iqbal | null | {'additions': 20, 'deletions': 17, 'total': 37} | [
{
"additions": 20,
"changes": 37,
"deletions": 17,
"patch": "@@ -2682,6 +2682,8 @@ static void rtrs_clt_dev_release(struct device *dev)\n \tstruct rtrs_clt_sess *clt = container_of(dev, struct rtrs_clt_sess,\n \t\t\t\t\t\t dev);\n \n+\tmutex_destroy(&clt->paths_ev_mutex);\n+\tmutex_destroy(&clt->pat... | c | CWE-415 | [
"drivers/infiniband/ulp/rtrs/rtrs-clt.c"
] | drivers/infiniband/ulp/rtrs/rtrs-clt.c | 1 |
void fx_DataView(txMachine* the) mxRangeError("out of range byteOffset %ld", offset); size = fxArgToByteLength(the, 2, -1); if (size >= 0) { if (info->value.bufferInfo.length < (offset + size)) mxRangeError("out of range byteLength %ld", size); } else { void fx_DataView(txMachine* the) if (info->value.buf... | void fx_DataView(txMachine* the) mxRangeError("out of range byteOffset %ld", offset); size = fxArgToByteLength(the, 2, -1); if (size >= 0) { txInteger end = offset + size; if ((info->value.bufferInfo.length < end) || (end < offset)) mxRangeError("out of range byteLength %ld", size); } else { void fx_DataV... | CVE-2022-29368 | {'CWE-125'} | 4.9 | {'https://github.com/Moddable-OpenSource/moddable/commit/135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45'} | nvd | Moddable commit before 135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45 was discovered to contain an out-of-bounds read via the function fxUint8Getter at /moddable/xs/sources/xsDataView.c. | 2022-05-12 | 1 | https://github.com/Moddable-OpenSource/moddable | https://github.com/Moddable-OpenSource/moddable/commit/135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45 | 135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45 | SINGLE | ['135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45'] | {'249ec437002eaffea0b19134d60776d2c4564471'} | 135aa9a4a6a9b49b60aa730ebc3bcc6247d75c45 | 1 | 04/12/2022, 11:38:55 | XS: #896 | Patrick Soquet | null | {'additions': 9, 'deletions': 5, 'total': 14} | [
{
"additions": 9,
"changes": 14,
"deletions": 5,
"patch": "@@ -773,7 +773,8 @@ void fx_DataView(txMachine* the)\n \t\tmxRangeError(\"out of range byteOffset %ld\", offset);\n \tsize = fxArgToByteLength(the, 2, -1);\n \tif (size >= 0) {\n-\t\tif (info->value.bufferInfo.length < (offset + size))\n+\t\... | c | CWE-125 | [
"xs/sources/xsDataView.c"
] | xs/sources/xsDataView.c | 1 |
public function fetchSGOrgRow($id, $removable = false, $extend = false) { $this->layout = false; $this->autoRender = false; $this->set('id', $id); $this->set('removable', $removable); $this->set('extend', $extend); $this->render('ajax/sg_org_row_empty'); | public function fetchSGOrgRow($id, $removable = false, $extend = false) { $this->layout = false; $this->autoRender = false; $this->set('id', (int)$id); $this->set('removable', $removable); $this->set('extend', $extend); $this->render('ajax/sg_org_row_empty'); | CVE-2022-29533 | {'CWE-79'} | 2.9 | {'https://github.com/MISP/MISP/commit/ce6bc88e330f5ef50666b149d86c0d94f545f24e'} | nvd | An issue was discovered in MISP before 2.4.158. There is XSS in app/Controller/OrganisationsController.php in a situation with a "weird single checkbox page." | 2022-04-20 | 1 | https://github.com/MISP/MISP | https://github.com/MISP/MISP/commit/ce6bc88e330f5ef50666b149d86c0d94f545f24e | ce6bc88e330f5ef50666b149d86c0d94f545f24e | SINGLE | ['ce6bc88e330f5ef50666b149d86c0d94f545f24e'] | {'60c85b80e3ab05c3ef015bca5630e95eddbb1436'} | ce6bc88e330f5ef50666b149d86c0d94f545f24e | 1 | 04/17/2022, 23:05:10 | fix: [security] low probability reflected XSS fixed
- User would need to navigate to a url that contains the payload
- user needs to click on a checkbox in a weird single checkbox page to trigger the exploit
- as reported by Dawid Czarnecki of Zigrin Security on behalf of the Luxembourg Army | iglocska | null | {'additions': 1, 'deletions': 1, 'total': 2} | [
{
"additions": 1,
"changes": 2,
"deletions": 1,
"patch": "@@ -392,7 +392,7 @@ public function fetchSGOrgRow($id, $removable = false, $extend = false)\n {\n $this->layout = false;\n $this->autoRender = false;\n- $this->set('id', $id);\n+ $this->set('id', (int)$id);\n... | php | CWE-79 | [
"app/Controller/OrganisationsController.php"
] | app/Controller/OrganisationsController.php | 1 |
public function edit() } } } if (!$abortPost && !$this->_isRest()) { if (Configure::read('Security.require_password_confirmation')) { if (!empty($this->request->data['User']['current_password'])) { $... | public function edit() } } } if (!$abortPost && (!$this->_isRest() || empty($this->request->header('Authorization')))) { if (Configure::read('Security.require_password_confirmation')) { if (!empty($this->request->data['User... | CVE-2022-29534 | {'CWE-287'} | 2.9 | {'https://github.com/MISP/MISP/commit/01120163a6b4d905029d416e7305575df31df8af'} | nvd | An issue was discovered in MISP before 2.4.158. In UsersController.php, password confirmation can be bypassed via vectors involving an "Accept: application/json" header. | 2022-04-20 | 1 | https://github.com/MISP/MISP | https://github.com/MISP/MISP/commit/01120163a6b4d905029d416e7305575df31df8af | 01120163a6b4d905029d416e7305575df31df8af | SINGLE | ['01120163a6b4d905029d416e7305575df31df8af'] | {'ce6bc88e330f5ef50666b149d86c0d94f545f24e'} | 01120163a6b4d905029d416e7305575df31df8af | 1 | 04/18/2022, 00:00:13 | fix: [security] Password confirmation bypass in user edit
- optional password confirmation can be potentially circumvented
- fooling the user edit via a request that sets accept:application/json whilst posting form content
- as reported by Dawid Czarnecki of Zigrin Security on behalf of the Luxembourg Army | iglocska | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -154,7 +154,7 @@ public function edit()\n }\n }\n }\n- if (!$abortPost && !$this->_isRest()) {\n+ if (!$abortPost && (!$this->_isRest() || empty($this->request->header('... | php | CWE-287 | [
"app/Controller/UsersController.php"
] | app/Controller/UsersController.php | 1 |
static __cold void io_flush_timeouts(struct io_ring_ctx *ctx) __must_hold(&ctx->completion_lock) { u32 seq = ctx->cached_cq_tail - atomic_read(&ctx->cq_timeouts); spin_lock_irq(&ctx->timeout_lock); while (!list_empty(&ctx->timeout_list)) { u32 events_needed, events_got; struct io_kiocb *req = list_first_entry... | static __cold void io_flush_timeouts(struct io_ring_ctx *ctx) __must_hold(&ctx->completion_lock) { u32 seq = ctx->cached_cq_tail - atomic_read(&ctx->cq_timeouts); struct io_kiocb *req, *tmp; spin_lock_irq(&ctx->timeout_lock); list_for_each_entry_safe(req, tmp, &ctx->timeout_list, timeout.list) { u32 events_nee... | CVE-2022-29582 | {'CWE-416'} | 10 | {'https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646'} | nvd | In the Linux kernel before 5.17.3, fs/io_uring.c has a use-after-free due to a race condition in io_uring timeouts. This can be triggered by a local user who has no access to any user namespace; however, the race condition perhaps can only be exploited infrequently. | 2022-04-22 | 1 | https://github.com/torvalds/linux | https://github.com/torvalds/linux/commit/e677edbcabee849bfdd43f1602bccbecf736a646 | e677edbcabee849bfdd43f1602bccbecf736a646 | SINGLE | ['e677edbcabee849bfdd43f1602bccbecf736a646'] | {'4cdd158be9d09223737df83136a1fb65269d809a'} | e677edbcabee849bfdd43f1602bccbecf736a646 | 1 | 04/08/2022, 17:08:58 | io_uring: fix race between timeout flush and removal
io_flush_timeouts() assumes the timeout isn't in progress of triggering
or being removed/canceled, so it unconditionally removes it from the
timeout list and attempts to cancel it.
Leave it on the list and let the normal timeout cancelation take care
of it.
Cc: st... | Jens Axboe | null | {'additions': 3, 'deletions': 4, 'total': 7} | [
{
"additions": 3,
"changes": 7,
"deletions": 4,
"patch": "@@ -1736,12 +1736,11 @@ static __cold void io_flush_timeouts(struct io_ring_ctx *ctx)\n \t__must_hold(&ctx->completion_lock)\n {\n \tu32 seq = ctx->cached_cq_tail - atomic_read(&ctx->cq_timeouts);\n+\tstruct io_kiocb *req, *tmp;\n \n \tspin_l... | c | CWE-416 | [
"fs/io_uring.c"
] | fs/io_uring.c | 1 |
uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result) } if (uc->init_arch == NULL) { return UC_ERR_ARCH; } | uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result) } if (uc->init_arch == NULL) { free(uc); return UC_ERR_ARCH; } | CVE-2022-29693 | {'CWE-401'} | 2.9 | {'https://github.com/unicorn-engine/unicorn/commit/469fc4c35a0cfabdbefb158e22d145f4ee6f77b9'} | nvd | Unicorn Engine v2.0.0-rc7 and below was discovered to contain a memory leak via the function uc_close at /my/unicorn/uc.c. | 2022-06-02 | 1 | https://github.com/unicorn-engine/unicorn | https://github.com/unicorn-engine/unicorn/commit/469fc4c35a0cfabdbefb158e22d145f4ee6f77b9 | 469fc4c35a0cfabdbefb158e22d145f4ee6f77b9 | SINGLE | ['469fc4c35a0cfabdbefb158e22d145f4ee6f77b9'] | {'e3d0a33ab83c9dd65134da0c0a10a6a91173a08c', '9985974998086f7fd62bc165bf667b0fc910319d'} | 469fc4c35a0cfabdbefb158e22d145f4ee6f77b9 | 1 | 04/11/2022, 08:44:10 | Merge pull request #1587 from liyansong2018/dev
Fix https://github.com/unicorn-engine/unicorn/issues/1586 | lazymio | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -388,6 +388,7 @@ uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result)\n }\n \n if (uc->init_arch == NULL) {\n+ free(uc);\n return UC_ERR_ARCH;\n }",
"path": "uc.c",
"raw_url"... | c | CWE-401 | [
"uc.c"
] | uc.c | 1 |
<div class='pagetitle h3'><?php eT('Confirm uploaded plugin'); ?></div> <?php // Only show config summary if config could be found. ?> <?php if (isset($config)): ?> <?php echo CHtml::form( Yii::app()->getController()->createUrl( '/admin/pluginmanager', <in... | <div class='pagetitle h3'><?php eT('Confirm uploaded plugin'); ?></div> <?php // Only show config summary if config could be found. ?> <?php if (isset($config)) : ?> <?php echo CHtml::form( Yii::app()->getController()->createUrl( '/admin/pluginmanager', <in... | CVE-2022-29710 | {'CWE-79'} | 2.9 | {'https://github.com/LimeSurvey/LimeSurvey/commit/f7b35619a1c4b0893754594c7d5870fd599a0f9c'} | nvd | A cross-site scripting (XSS) vulnerability in uploadConfirm.php of LimeSurvey v5.3.9 and below allows attackers to execute arbitrary web scripts or HTML via a crafted plugin. | 2022-05-25 | 1 | https://github.com/LimeSurvey/LimeSurvey | https://github.com/LimeSurvey/LimeSurvey/commit/f7b35619a1c4b0893754594c7d5870fd599a0f9c | f7b35619a1c4b0893754594c7d5870fd599a0f9c | SINGLE | ['f7b35619a1c4b0893754594c7d5870fd599a0f9c'] | {'bb5e0690ce9c1dfbf53543ca79ee9b368e7c4a7b'} | f7b35619a1c4b0893754594c7d5870fd599a0f9c | 1 | 04/19/2022, 09:51:30 | Fixed issue: [security] Minor XSS issue in plugin overview - reported by Podalirius (podalirius.net/en/) | Carsten Schmitz | {'com_1': {'author': 'Shnoulle', 'datetime': '04/20/2022, 14:05:32', 'body': "Hu … some plugin have HTML or markdown in descrition.\r\n\r\nSince this plugin part are PHP system and can not be updated by simple user. I really think it's a bad idea …"}, 'com_2': {'author': 'Shnoulle', 'datetime': '04/20/2022, 14:06:34', ... | {'additions': 12, 'deletions': 14, 'total': 26} | [
{
"additions": 12,
"changes": 26,
"deletions": 14,
"patch": "@@ -2,8 +2,7 @@\n <div class='pagetitle h3'><?php eT('Confirm uploaded plugin'); ?></div>\n \n <?php // Only show config summary if config could be found. ?>\n- <?php if (isset($config)): ?>\n-\n+ <?php if (isset($config)) : ... | php | CWE-79 | [
"application/views/admin/pluginmanager/uploadConfirm.php"
] | application/views/admin/pluginmanager/uploadConfirm.php | 1 |
function translate($name) { function loadLanguage($prefix='') { global $user; if ( $prefix ) $prefix = $prefix.'/'; if ( isset($user['Language']) and $user['Language'] ) { $userLangFile = $prefix.'lang/'.$user['Language'].'.php'; if ( file_exists($userLangFile) ) { return $userLangFile; ... | function translate($name) { function loadLanguage($prefix='') { global $user; if ($prefix) $prefix = $prefix.'/'; if (isset($user['Language']) and $user['Language']) { # Languages can only have letters, numbers and underscore $userLangFile = $prefix.'lang/'.preg_replace('/[^[:alnum:]_]+/', '', $use... | CVE-2022-29806 | {'CWE-22'} | 6.4 | {'https://github.com/ZoneMinder/zoneminder/commit/9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb'} | nvd | ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability. | 2022-04-26 | 1 | https://github.com/ZoneMinder/zoneminder | https://github.com/ZoneMinder/zoneminder/commit/9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb | 9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb | SINGLE | ['9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb'] | {'2db781ed4419971d299ae3456c7407e74995dbb6'} | 9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb | 1 | 02/08/2022, 19:17:30 | detaint language file. | Isaac Connor | null | {'additions': 6, 'deletions': 5, 'total': 11} | [
{
"additions": 6,
"changes": 11,
"deletions": 5,
"patch": "@@ -30,20 +30,21 @@ function translate($name) {\n function loadLanguage($prefix='') {\n global $user;\n \n- if ( $prefix )\n+ if ($prefix)\n $prefix = $prefix.'/';\n \n- if ( isset($user['Language']) and $user['Language'] ) {\n- ... | php | CWE-22 | [
"web/includes/lang.php"
] | web/includes/lang.php | 1 |
static SQInteger thread_call(HSQUIRRELVM v) SQObjectPtr o = stack_get(v,1); if(sq_type(o) == OT_THREAD) { SQInteger nparams = sq_gettop(v); _thread(o)->Push(_thread(o)->_roottable); for(SQInteger i = 2; i<(nparams+1); i++) sq_move(_thread(o),v,i); | static SQInteger thread_call(HSQUIRRELVM v) SQObjectPtr o = stack_get(v,1); if(sq_type(o) == OT_THREAD) { SQInteger nparams = sq_gettop(v); sq_reservestack(_thread(o), nparams + 3); _thread(o)->Push(_thread(o)->_roottable); for(SQInteger i = 2; i<(nparams+1); i++) sq... | CVE-2022-30292 | {'CWE-787'} | 6.4 | {'https://github.com/albertodemichelis/squirrel/commit/a6413aa690e0bdfef648c68693349a7b878fe60d'} | nvd | Heap-based buffer overflow in sqbaselib.cpp in SQUIRREL 3.2 due to lack of a certain sq_reservestack call. | 2022-05-04 | 1 | https://github.com/albertodemichelis/squirrel | https://github.com/albertodemichelis/squirrel/commit/a6413aa690e0bdfef648c68693349a7b878fe60d | a6413aa690e0bdfef648c68693349a7b878fe60d | SINGLE | ['a6413aa690e0bdfef648c68693349a7b878fe60d'] | {'f92bc298784ceea459b12e2de33bdff672bfeb83'} | a6413aa690e0bdfef648c68693349a7b878fe60d | 1 | 05/02/2022, 10:04:58 | fix in thread.call | Alberto Demichelis | null | {'additions': 1, 'deletions': 0, 'total': 1} | [
{
"additions": 1,
"changes": 1,
"deletions": 0,
"patch": "@@ -1149,6 +1149,7 @@ static SQInteger thread_call(HSQUIRRELVM v)\n SQObjectPtr o = stack_get(v,1);\n if(sq_type(o) == OT_THREAD) {\n SQInteger nparams = sq_gettop(v);\n+ sq_reservestack(_thread(o), nparams + 3);\n ... | cpp | CWE-787 | [
"squirrel/sqbaselib.cpp"
] | squirrel/sqbaselib.cpp | 1 |
static int nfs_lookup_reply(uchar *pkt, unsigned len) } if (supported_nfs_versions & NFSV2_FLAG) { memcpy(filefh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); } else { /* NFSV3_FLAG */ filefh3_length = ntohl(rpc_pkt.u.reply.data[1]); if (filefh3_length > NFS3_FHSIZE) filefh3_length = NFS3_FHSIZE; memcpy(fil... | static int nfs_lookup_reply(uchar *pkt, unsigned len) } if (supported_nfs_versions & NFSV2_FLAG) { if (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + NFS_FHSIZE) > len) return -NFS_RPC_DROP; memcpy(filefh, rpc_pkt.u.reply.data + 1, NFS_FHSIZE); } else { /* NFSV3_FLAG */ filefh3_length = nto... | CVE-2022-30767 | {'CWE-120'} | 6.4 | {'https://github.com/u-boot/u-boot/commit/5d14ee4e53a81055d34ba280cb8fd90330f22a96'} | nvd | nfs_lookup_reply in net/nfs.c in Das U-Boot through 2022.04 (and through 2022.07-rc2) has an unbounded memcpy with a failed length check, leading to a buffer overflow. NOTE: this issue exists because of an incorrect fix for CVE-2019-14196. | 2022-05-16 | 1 | https://github.com/u-boot/u-boot | https://github.com/u-boot/u-boot/commit/5d14ee4e53a81055d34ba280cb8fd90330f22a96 | 5d14ee4e53a81055d34ba280cb8fd90330f22a96 | SINGLE | ['5d14ee4e53a81055d34ba280cb8fd90330f22a96'] | {'cf3a4f1e86ecdd24f87b615051b49d8e1968c230'} | 5d14ee4e53a81055d34ba280cb8fd90330f22a96 | 1 | 08/29/2019, 13:48:02 | CVE-2019-14196: nfs: fix unbounded memcpy with a failed length check at nfs_lookup_reply
This patch adds a check to rpc_pkt.u.reply.data at nfs_lookup_reply.
Signed-off-by: Cheng Liu <liucheng32@huawei.com>
Reported-by: Fermín Serna <fermin@semmle.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com> | liucheng (G) | {'com_1': {'author': 'zi0Black', 'datetime': '05/10/2022, 23:21:51', 'body': 'Hi,\r\nThe following fix (lines 576-577) is an ineffective mitigation for the CVE-2019-14196: \r\n```C\r\nif (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + filefh3_length) > len)\r\n return -NFS_RPC_DROP;\r\n```\r\nThe resul... | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -566,11 +566,15 @@ static int nfs_lookup_reply(uchar *pkt, unsigned len)\n \t}\n \n \tif (supported_nfs_versions & NFSV2_FLAG) {\n+\t\tif (((uchar *)&(rpc_pkt.u.reply.data[0]) - (uchar *)(&rpc_pkt) + NFS_FHSIZE) > len)\n+\t\t\treturn -NFS_... | c | CWE-120 | [
"net/nfs.c"
] | net/nfs.c | 1 |
sip_method_t sip_method_d(char **ss, char const **return_name) #undef MATCH if (IS_NON_WS(s[n])) /* Unknown method */ code = sip_method_unknown; | sip_method_t sip_method_d(char **ss, char const **return_name) #undef MATCH if (strlen(s) < n) { return sip_method_invalid; } if (IS_NON_WS(s[n])) /* Unknown method */ code = sip_method_unknown; | CVE-2022-31001 | {'CWE-125'} | 2.9 | {'https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36'} | nvd | Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause crash. This type of crash may be caused by `#define MATCH(s, m) (strncmp(s, m, n = sizeof(m) - 1) == 0)`, which will make `n` bigger and ... | 2022-05-31 | 1 | https://github.com/freeswitch/sofia-sip | https://github.com/freeswitch/sofia-sip/commit/a99804b336d0e16d26ab7119d56184d2d7110a36 | a99804b336d0e16d26ab7119d56184d2d7110a36 | SINGLE | ['a99804b336d0e16d26ab7119d56184d2d7110a36'] | {'51841eb53679434a386fb2dcbca925dcc48d58ba', 'e96b4b89fc37a074bc95fc8fc24bb4b5297048ad'} | a99804b336d0e16d26ab7119d56184d2d7110a36 | 1 | 05/25/2022, 13:58:18 | Merge pull request from GHSA-79jq-hh82-cv9g
Fix Out-of-bound read in sip_method_d | Andrey Volk | null | {'additions': 4, 'deletions': 0, 'total': 4} | [
{
"additions": 4,
"changes": 4,
"deletions": 0,
"patch": "@@ -454,6 +454,10 @@ sip_method_t sip_method_d(char **ss, char const **return_name)\n \n #undef MATCH\n \n+ if (strlen(s) < n) {\n+ return sip_method_invalid;\n+ }\n+\n if (IS_NON_WS(s[n]))\n /* Unknown method */\n code = sip_m... | c | CWE-125 | [
"libsofia-sip-ua/sip/sip_parser.c"
] | libsofia-sip-ua/sip/sip_parser.c | 1 |
char *url_canonize2(char *d, char const * const s, size_t n, continue; } h1 = s[i + 1], h2 = s[i + 2]; if (!IS_HEX(h1) || !IS_HEX(h2)) { *d = '\0'; char *url_canonize3(char *d, char const * const s, size_t n, continue; } h1 = s[i + 1], h2 = s[i + 2]; if (!IS_HEX(h1) || !IS... | char *url_canonize2(char *d, char const * const s, size_t n, continue; } h1 = s[i + 1]; if (!h1) { *d = '\0'; return NULL; } h2 = s[i + 2]; if (!IS_HEX(h1) || !IS_HEX(h2)) { *d = '\0'; char *url_canonize3(char *d, char const * const s, size_t n, continue; ... | CVE-2022-31002 | {'CWE-125'} | 2.9 | {'https://github.com/freeswitch/sofia-sip/commit/51841eb53679434a386fb2dcbca925dcc48d58ba'} | nvd | Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, an attacker can send a message with evil sdp to FreeSWITCH, which may cause a crash. This type of crash may be caused by a URL ending with `%`. Version 1.13.8 contains a patch for this issue. | 2022-05-31 | 1 | https://github.com/freeswitch/sofia-sip | https://github.com/freeswitch/sofia-sip/commit/51841eb53679434a386fb2dcbca925dcc48d58ba | 51841eb53679434a386fb2dcbca925dcc48d58ba | SINGLE | ['51841eb53679434a386fb2dcbca925dcc48d58ba'] | {'32a209f00763d4e506ed68ab68ffea3ead9cc8de', '907f2ac0ee504c93ebfefd676b4632a3575908c9'} | 51841eb53679434a386fb2dcbca925dcc48d58ba | 1 | 05/25/2022, 13:54:12 | Merge pull request from GHSA-g3x6-p824-x6hm
Fix Out-of-bound read in url_canonize2 and url_canonize3 | Andrey Volk | null | {'additions': 12, 'deletions': 2, 'total': 14} | [
{
"additions": 12,
"changes": 14,
"deletions": 2,
"patch": "@@ -364,7 +364,12 @@ char *url_canonize2(char *d, char const * const s, size_t n,\n continue;\n }\n \n- h1 = s[i + 1], h2 = s[i + 2];\n+ h1 = s[i + 1];\n+ if (!h1) {\n+ *d = '\\0';\n+ return NULL;\n+ }\n+... | c | CWE-125 | [
"libsofia-sip-ua/url/url.c"
] | libsofia-sip-ua/url/url.c | 1 |
static void parse_message(sdp_parser_t *p) record = next(&message, CRLF, strip)) { field = record[0]; rest = record + 2; rest += strspn(rest, strip); if (record[1] != '=') { static void parse_descs(sdp_parser_t *p, record = next(&message, CRLF, strip)) { char field = record[0]; res... | static void parse_message(sdp_parser_t *p) record = next(&message, CRLF, strip)) { field = record[0]; if (strlen(record) < 2) { return; } rest = record + 2; rest += strspn(rest, strip); if (record[1] != '=') { static void parse_descs(sdp_parser_t *p, record = next(&message, C... | CVE-2022-31003 | {'CWE-787', 'CWE-122'} | 6.4 | {'https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9'} | nvd | Sofia-SIP is an open-source Session Initiation Protocol (SIP) User-Agent library. Prior to version 1.13.8, when parsing each line of a sdp message, `rest = record + 2` will access the memory behind `\0` and cause an out-of-bounds write. An attacker can send a message with evil sdp to FreeSWITCH, causing a crash or more... | 2022-05-31 | 1 | https://github.com/freeswitch/sofia-sip | https://github.com/freeswitch/sofia-sip/commit/907f2ac0ee504c93ebfefd676b4632a3575908c9 | 907f2ac0ee504c93ebfefd676b4632a3575908c9 | SINGLE | ['907f2ac0ee504c93ebfefd676b4632a3575908c9'] | {'5f1836651a667a421392ef4df3e9ff66a32a08f3', 'c07f05a4d1655fa3481ba0c5aed5026b38cef50c'} | 907f2ac0ee504c93ebfefd676b4632a3575908c9 | 1 | 05/25/2022, 13:50:00 | Merge pull request from GHSA-8w5j-6g2j-pxcp
Fix Heap-buffer-overflow in parse_descs and parse_message | Andrey Volk | null | {'additions': 8, 'deletions': 0, 'total': 8} | [
{
"additions": 8,
"changes": 8,
"deletions": 0,
"patch": "@@ -396,6 +396,10 @@ static void parse_message(sdp_parser_t *p)\n record = next(&message, CRLF, strip)) {\n field = record[0];\n \n+ if (strlen(record) < 2) {\n+ return;\n+ }\n+\n rest = record + 2; rest += strspn(re... | c | CWE-787 | [
"libsofia-sip-ua/sdp/sdp_parse.c"
] | libsofia-sip-ua/sdp/sdp_parse.c | 1 |
function echoEvent($datatext) { { // Is this a valid domain? $url = idn_to_ascii($_GET["domain"]); if(!validDomain($url)) { echoEvent("$url is an invalid domain!"); die(); } } | function echoEvent($datatext) { { // Is this a valid domain? $url = idn_to_ascii($_GET["domain"]); if (!validDomain($url)) { echoEvent(htmlentities($url)." is an invalid domain!"); die(); } } | CVE-2022-31029 | {'CWE-79'} | 2.9 | {'https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509'} | nvd | AdminLTE is a Pi-hole Dashboard for stats and configuration. In affected versions inserting code like `<script>alert("XSS")</script>` in the field marked with "Domain to look for" and hitting <kbd>enter</kbd> (or clicking on any of the buttons) will execute the script. The user must be logged in to use this vulnerabili... | 2022-07-07 | 1 | https://github.com/pi-hole/AdminLTE | https://github.com/pi-hole/AdminLTE/commit/b07372bd426ca8111824a0244dc89d07a7243509 | b07372bd426ca8111824a0244dc89d07a7243509 | SINGLE | ['b07372bd426ca8111824a0244dc89d07a7243509'] | {'803a42fa1fc6e20cf1d2b30287ca066dc8a754ef', '5e46f5e02317cb27fbcde86be1840d9c6c44b861'} | b07372bd426ca8111824a0244dc89d07a7243509 | 1 | 07/07/2022, 18:23:48 | Merge pull request from GHSA-cfr5-rqm5-9vhp
Fix/ghsa-cfr5-rqm5-9vhp - Possible XSS in queryads.php | Adam Warner | null | {'additions': 2, 'deletions': 3, 'total': 5} | [
{
"additions": 2,
"changes": 5,
"deletions": 3,
"patch": "@@ -27,9 +27,8 @@ function echoEvent($datatext) {\n {\n // Is this a valid domain?\n $url = idn_to_ascii($_GET[\"domain\"]);\n- if(!validDomain($url))\n- {\n- echoEvent(\"$url is an invalid domain!\");\n+ if (!validDom... | php | CWE-79 | [
"scripts/pi-hole/php/queryads.php"
] | scripts/pi-hole/php/queryads.php | 1 |
PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, { pj_uint16_t msg_type, msg_len; char *p_attr; PJ_CHECK_STACK(); PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, msg->attr_count = 0; p_attr = (char*)buf + sizeof(pjstun_msg_hdr); while (msg_len > 0) { p... | PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, { pj_uint16_t msg_type, msg_len; char *p_attr; int attr_max_cnt = PJ_ARRAY_SIZE(msg->attr); PJ_CHECK_STACK(); PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len, msg->attr_count = 0; p_attr = (char*)buf + size... | CVE-2022-31031 | {'CWE-120'} | 6.4 | {'https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202'} | nvd | PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: set... | 2022-06-09 | 1 | https://github.com/pjsip/pjproject | https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202 | 450baca94f475345542c6953832650c390889202 | SINGLE | ['450baca94f475345542c6953832650c390889202'] | {'0cdd34c1e094438d7b5deae1c13f6f54c83032b7'} | 450baca94f475345542c6953832650c390889202 | 1 | 06/07/2022, 04:00:13 | Merge pull request from GHSA-26j7-ww69-c4qj | sauwming | null | {'additions': 6, 'deletions': 1, 'total': 7} | [
{
"additions": 6,
"changes": 7,
"deletions": 1,
"patch": "@@ -54,6 +54,7 @@ PJ_DEF(pj_status_t) pjstun_parse_msg( void *buf, pj_size_t buf_len,\n {\n pj_uint16_t msg_type, msg_len;\n char *p_attr;\n+ int attr_max_cnt = PJ_ARRAY_SIZE(msg->attr);\n \n PJ_CHECK_STACK();\n \n@@ -83,7 +84,... | c | CWE-120 | [
"pjlib-util/src/pjlib-util/stun_simple.c"
] | pjlib-util/src/pjlib-util/stun_simple.c | 1 |
public function login($login_name, $login_password, $noauto = false, $remember_m if ($login_auth == 'local') { $authtype = self::DB_GLPI; $this->user->fields["authtype"] = self::DB_GLPI; } else if (strstr($login_auth, '-')) { $auths = explode('-', $login_auth); ... | public function login($login_name, $login_password, $noauto = false, $remember_m if ($login_auth == 'local') { $authtype = self::DB_GLPI; $this->user->fields["authtype"] = self::DB_GLPI; } else if (preg_match('/^(?<type>ldap|mail|external)-(?<id>\d+)$/', $login_auth, $auth_match... | CVE-2022-31061 | {'CWE-89'} | 6.4 | {'https://github.com/glpi-project/glpi/commit/21ae07d00d0b3230f6235386e98388cfc5bb0514'} | nvd | GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing. In affected versions there is a SQL injection vulnerability which is possible on login page. No user credentials are required to exploit this vulnerability. Users are advised to u... | 2022-06-28 | 1 | https://github.com/glpi-project/glpi | https://github.com/glpi-project/glpi/commit/21ae07d00d0b3230f6235386e98388cfc5bb0514 | 21ae07d00d0b3230f6235386e98388cfc5bb0514 | SINGLE | ['21ae07d00d0b3230f6235386e98388cfc5bb0514'] | {'a723bb144b018184e9df00098ee60612705cd112'} | 21ae07d00d0b3230f6235386e98388cfc5bb0514 | 1 | 06/28/2022, 10:19:52 | Merge pull request from GHSA-w2gc-v2gm-q7wq | Johan Cwiklinski | null | {'additions': 6, 'deletions': 9, 'total': 15} | [
{
"additions": 6,
"changes": 15,
"deletions": 9,
"patch": "@@ -736,19 +736,16 @@ public function login($login_name, $login_password, $noauto = false, $remember_m\n if ($login_auth == 'local') {\n $authtype = self::DB_GLPI;\n $this->user->fields[\"authtype\"] = self::D... | php | CWE-89 | [
"src/Auth.php"
] | src/Auth.php | 1 |
die("Sorry. You can't access directly to this file"); } /** * Manage the deploy packages. */ public function deployToComputer($computers_id, $packages_id, $users_id) //Add the new task $input = [ 'name' => '[deploy on demand] ' . $this->fields['name'], ... | die("Sorry. You can't access directly to this file"); } use Glpi\Toolbox\Sanitizer; /** * Manage the deploy packages. */ public function deployToComputer($computers_id, $packages_id, $users_id) //Add the new task $input = [ 'name' => '[deploy on demand... | CVE-2022-31082 | {'CWE-89'} | 6.4 | {'https://github.com/glpi-project/glpi-inventory-plugin/commit/0b805ca6fb2a0f9bde4af29fca4f703fdfbd8f66'} | nvd | GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing. glpi-inventory-plugin is a plugin for GLPI to handle inventory management. In affected versions a SQL injection can be made using package deployment tasks. This issue has been res... | 2022-06-27 | 1 | https://github.com/glpi-project/glpi-inventory-plugin | https://github.com/glpi-project/glpi-inventory-plugin/commit/0b805ca6fb2a0f9bde4af29fca4f703fdfbd8f66 | 0b805ca6fb2a0f9bde4af29fca4f703fdfbd8f66 | SINGLE | ['0b805ca6fb2a0f9bde4af29fca4f703fdfbd8f66'] | {'f2225dbbce6d7a00aff2a5c7abef20d73952614e'} | 0b805ca6fb2a0f9bde4af29fca4f703fdfbd8f66 | 1 | 06/20/2022, 07:06:12 | Merge pull request from GHSA-q6m7-h6rj-5wmw | Cédric Anne | null | {'additions': 7, 'deletions': 5, 'total': 12} | [
{
"additions": 7,
"changes": 12,
"deletions": 5,
"patch": "@@ -35,6 +35,8 @@\n die(\"Sorry. You can't access directly to this file\");\n }\n \n+use Glpi\\Toolbox\\Sanitizer;\n+\n /**\n * Manage the deploy packages.\n */\n@@ -1889,11 +1891,11 @@ public function deployToComputer($computers_id, $... | php | CWE-89 | [
"inc/deploypackage.class.php"
] | inc/deploypackage.class.php | 1 |
function removeAllChildNodes(parent) { } Object.keys(data).forEach(function(project) { var pr = document.createElement('li') pr.innerHTML = `<div class="media-item-content not-shared"><div class="media-thumb"><a href="/projects/${data[project]['id']}/"><img src="${data[project]['image']}"><... | function removeAllChildNodes(parent) { } Object.keys(data).forEach(function(project) { var pr = document.createElement('li') pr.innerHTML = `<div class="media-item-content not-shared"><div class="media-thumb"><a href="/projects/${data[project]['id']}/"><img src="${data[project]['image']}"><... | CVE-2022-31094 | {'CWE-79'} | 2.9 | {'https://github.com/STForScratch/ScratchTools/commit/a29a0c6105bc14a89d25c806f6a3ad1257bbb683'} | nvd | ScratchTools is a web extension designed to make interacting with the Scratch programming language community (Scratching) easier. In affected versions anybody who uses the Recently Viewed Projects feature is vulnerable to having their account taken over if they view a project that tries to. The issue is that if a user ... | 2022-06-27 | 1 | https://github.com/STForScratch/ScratchTools | https://github.com/STForScratch/ScratchTools/commit/a29a0c6105bc14a89d25c806f6a3ad1257bbb683 | a29a0c6105bc14a89d25c806f6a3ad1257bbb683 | SINGLE | ['a29a0c6105bc14a89d25c806f6a3ad1257bbb683'] | {'a6c7b26174cd43fee379948aa132a870cb26dfea', '0b2f51b04cebb7971bba4c962105fa04102eda4d'} | a29a0c6105bc14a89d25c806f6a3ad1257bbb683 | 1 | 06/20/2022, 18:31:34 | Merge pull request #55 from STForScratch/fix-project-recently-viewed-security-issue
Fix Security Bug with Recently Viewed Projects | rgantzos | null | {'additions': 3, 'deletions': 2, 'total': 5} | [
{
"additions": 3,
"changes": 5,
"deletions": 2,
"patch": "@@ -79,8 +79,9 @@ function removeAllChildNodes(parent) {\n }\n Object.keys(data).forEach(function(project) {\n var pr = document.createElement('li')\n- pr.innerHTML = `<div class=\"media-item-content not-shared\"><d... | js | CWE-79 | [
"features/recently-viewed-projects.js"
] | features/recently-viewed-projects.js | 1 |
<h4 style="text-align: center;">Incident List is Currently Empty</h4> {% for info in canarydrop['triggered_list'][item]['additional_info'] %} <tr class="header_row"> <td colspan="2"> {{info}} </td> </tr> ... | <h4 style="text-align: center;">Incident List is Currently Empty</h4> {% for info in canarydrop['triggered_list'][item]['additional_info'] %} <tr class="header_row"> <td colspan="2"> {{info|e}} </td> </tr... | CVE-2022-31113 | {'CWE-79'} | 2.9 | {'https://github.com/thinkst/canarytokens/commit/dc378957bc28a6f3b5a8d7217b0605d81111f090'} | nvd | Canarytokens is an open source tool which helps track activity and actions on your network. A Cross-Site Scripting vulnerability was identified in the history page of triggered Canarytokens. This permits an attacker who recognised an HTTP-based Canarytoken (a URL) to execute Javascript in the Canarytoken's history page... | 2022-07-01 | 1 | https://github.com/thinkst/canarytokens | https://github.com/thinkst/canarytokens/commit/dc378957bc28a6f3b5a8d7217b0605d81111f090 | dc378957bc28a6f3b5a8d7217b0605d81111f090 | SINGLE | ['dc378957bc28a6f3b5a8d7217b0605d81111f090'] | {'90e3a93703c09bc918b1752b5e880b4dcca6f215'} | dc378957bc28a6f3b5a8d7217b0605d81111f090 | 1 | 06/30/2022, 09:45:55 | Fix XSS reported by Yohann / @2xyo | Marco Slaviero | null | {'additions': 2, 'deletions': 2, 'total': 4} | [
{
"additions": 2,
"changes": 4,
"deletions": 2,
"patch": "@@ -306,7 +306,7 @@ <h4 style=\"text-align: center;\">Incident List is Currently Empty</h4>\n {% for info in canarydrop['triggered_list'][item]['additional_info'] %}\n <tr class=\"header_row\">\n ... | html | CWE-79 | [
"templates/history.html"
] | templates/history.html | 1 |
print(e) if form.getvalue('getcert') is not None and serv is not None: cert_id = form.getvalue('getcert') if funct.checkAjaxInput(cert_id): print('error: Nice try') sys.exit() cert_path = sql.get_setting('cert_path') commands = ["openssl x509 -in " + cert_path + "/" + cert_id ... | print(e) if form.getvalue('getcert') is not None and serv is not None: cert_id = funct.checkAjaxInput(form.getvalue('getcert')) cert_path = sql.get_setting('cert_path') commands = ["openssl x509 -in " + cert_path + "/" + cert_id + " -text"] print('error: Cannot connect to the server ' + e... | CVE-2022-31137 | {'CWE-78'} | 10 | {'https://github.com/hap-wi/roxy-wi/commit/82666df1e60c45dd6aa533b01a392f015d32f755'} | nvd | Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Versions prior to 6.1.1.0 are subject to a remote code execution vulnerability. System commands can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file.... | 2022-07-08 | 1 | https://github.com/hap-wi/roxy-wi | https://github.com/hap-wi/roxy-wi/commit/82666df1e60c45dd6aa533b01a392f015d32f755 | 82666df1e60c45dd6aa533b01a392f015d32f755 | SINGLE | ['82666df1e60c45dd6aa533b01a392f015d32f755'] | {'1fbcce83c0adae231f0652932757e0e3ecea033f'} | 82666df1e60c45dd6aa533b01a392f015d32f755 | 1 | 07/08/2022, 17:43:13 | v6.1.1.0
Change log: https://roxy-wi.org/changelog.py#6_1_1 | Pavel Loginov | null | {'additions': 52, 'deletions': 188, 'total': 240} | [
{
"additions": 52,
"changes": 240,
"deletions": 188,
"patch": "@@ -61,10 +61,7 @@\n print(e)\n \n if form.getvalue('getcert') is not None and serv is not None:\n- cert_id = form.getvalue('getcert')\n- if funct.checkAjaxInput(cert_id):\n- print('error: Nice try')\n- sys.ex... | py | CWE-78 | [
"app/options.py"
] | app/options.py | 1 |
function init_db_schema() { try { global $pdo; $db_version = "20052022_0938"; $stmt = $pdo->query("SHOW TABLES LIKE 'versions'"); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); function init_db_schema() { "spam_score" => "TINYINT(1) NOT NULL DEFAULT '1'", "spam_policy"... | function init_db_schema() { try { global $pdo; $db_version = "18062022_1153"; $stmt = $pdo->query("SHOW TABLES LIKE 'versions'"); $num_results = count($stmt->fetchAll(PDO::FETCH_ASSOC)); function init_db_schema() { "spam_score" => "TINYINT(1) NOT NULL DEFAULT '1'", "spam_policy"... | CVE-2022-31138 | {'CWE-78'} | 10 | {'https://github.com/mailcow/mailcow-dockerized/commit/d373164e13a14e058f82c9f1918a5612f375a9f9'} | nvd | mailcow is a mailserver suite. Prior to mailcow-dockerized version 2022-06a, an extended privilege vulnerability can be exploited by manipulating the custom parameters regexmess, skipmess, regexflag, delete2foldersonly, delete2foldersbutnot, regextrans2, pipemess, or maxlinelengthcmd to execute arbitrary code. Users sh... | 2022-07-11 | 1 | https://github.com/mailcow/mailcow-dockerized | https://github.com/mailcow/mailcow-dockerized/commit/d373164e13a14e058f82c9f1918a5612f375a9f9 | d373164e13a14e058f82c9f1918a5612f375a9f9 | SINGLE | ['d373164e13a14e058f82c9f1918a5612f375a9f9'] | {'71db83efce069c8f241bdfd4ecac56babc9b2610'} | d373164e13a14e058f82c9f1918a5612f375a9f9 | 1 | 06/20/2022, 19:18:57 | hotfix imapsync | FreddleSpl0it | null | {'additions': 13, 'deletions': 4, 'total': 17} | [
{
"additions": 13,
"changes": 17,
"deletions": 4,
"patch": "@@ -3,7 +3,7 @@ function init_db_schema() {\n try {\r\n global $pdo;\r\n \r\n- $db_version = \"20052022_0938\";\r\n+ $db_version = \"18062022_1153\";\r\n \r\n $stmt = $pdo->query(\"SHOW TABLES LIKE 'versions'\");\r\n $nu... | php | CWE-78 | [
"data/web/inc/init_db.inc.php"
] | data/web/inc/init_db.inc.php | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.