idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
507,456
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static char **checkStyle(node_t * n, int *flagp) { char *style; char **pstyle = 0; int istyle = 0; polygon_t *poly; style = late_nnstring(n, N_style, ""); if (style[0]) { char **pp; char **qp; char *p; pp = pstyle = parse_style(style); while ((p = *pp)) { if (streq(p, "filled")) { i...
62,241,339,804,475,160,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,457
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static pointf compassPoint(inside_t * ictxt, double y, double x) { pointf curve[4]; /* bezier control points for a straight line */ node_t *n = ictxt->s.n; graph_t* g = agraphof(n); int rd = GD_rankdir(g); pointf p; p.x = x; p.y = y; if (rd) p = cwrotatepf(p, 90 * rd); curve[0].x...
183,796,544,303,622,000,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,458
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
shape_desc *find_user_shape(const char *name) { int i; if (UserShape) { for (i = 0; i < N_UserShape; i++) { if (streq(UserShape[i]->name, name)) return UserShape[i]; } } return NULL; }
319,175,844,615,602,900,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,459
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
shape_kind shapeOf(node_t * n) { shape_desc *sh = ND_shape(n); void (*ifn) (node_t *); if (!sh) return SH_UNSET; ifn = ND_shape(n)->fns->initfn; if (ifn == poly_init) return SH_POLY; else if (ifn == record_init) return SH_RECORD; else if (ifn == point_init) return SH_POINT; else if ...
122,421,821,929,890,070,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,460
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
compassPort(node_t * n, boxf * bp, port * pp, char *compass, int sides, inside_t * ictxt) { boxf b; pointf p, ctr; int rv = 0; double theta = 0.0; boolean constrain = FALSE; boolean dyna = FALSE; int side = 0; boolean clip = TRUE; boolean defined; double maxv; /* sufficient...
329,815,434,989,857,680,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,461
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static boolean point_inside(inside_t * inside_context, pointf p) { static node_t *lastn; /* last node argument */ static double radius; pointf P; node_t *n; if (!inside_context) { lastn = NULL; return FALSE; } n = inside_context->s.n; P = ccwrotatepf(p, 90 * GD_rankdir(agraphof(n)));...
291,788,764,842,844,400,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,462
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void poly_init(node_t * n) { pointf dimen, min_bb, bb; point imagesize; pointf P, Q, R; pointf *vertices; char *p, *sfile, *fxd; double temp, alpha, beta, gamma; double orientation, distortion, skew; double sectorangle, sidelength, skewdist, gdistortion, gskew; double angle, s...
252,428,185,786,097,260,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,463
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static field_t *parse_error(field_t * rv, char *port) { free_field(rv); if (port) free(port); return NULL; }
320,484,829,639,651,660,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,464
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static int record_path(node_t * n, port * prt, int side, boxf rv[], int *kptr) { int i, ls, rs; pointf p; field_t *info; if (!prt->defined) return 0; p = prt->p; info = (field_t *) ND_shape_info(n); for (i = 0; i < info->n_flds; i++) { if (!GD_flip(agraphof(n))) { ls = info...
338,619,901,192,092,770,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,465
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void epsf_gencode(GVJ_t * job, node_t * n) { obj_state_t *obj = job->obj; epsf_t *desc; int doMap = (obj->url || obj->explicit_tooltip); desc = (epsf_t *) (ND_shape_info(n)); if (!desc) return; if (doMap && !(job->flags & EMIT_CLUSTERS_LAST)) gvrender_begin_anchor(job, obj->u...
119,343,629,913,205,000,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,466
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static char *closestSide(node_t * n, node_t * other, port * oldport) { boxf b; int rkd = GD_rankdir(agraphof(n)->root); point p = { 0, 0 }; point pt = cvtPt(ND_coord(n), rkd); point opt = cvtPt(ND_coord(other), rkd); int sides = oldport->side; char *rv = NULL; int i, d, mind = 0; if...
176,828,270,201,055,570,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,467
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static double userSize(node_t * n) { double w, h; w = late_double(n, N_width, 0.0, MIN_NODEWIDTH); h = late_double(n, N_height, 0.0, MIN_NODEHEIGHT); return POINTS(MAX(w, h)); }
27,611,049,839,824,560,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,468
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static pointf size_reclbl(node_t * n, field_t * f) { int i; char *p; double marginx, marginy; pointf d, d0; pointf dimen; if (f->lp) { dimen = f->lp->dimen; /* minimal whitespace around label */ if ((dimen.x > 0.0) || (dimen.y > 0.0)) { /* padding */ if ((p = agget(n, "margin"))) ...
151,541,667,053,698,140,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,469
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void record_gencode(GVJ_t * job, node_t * n) { obj_state_t *obj = job->obj; boxf BF; pointf AF[4]; int style; field_t *f; int doMap = (obj->url || obj->explicit_tooltip); int filled; char* clrs[2]; f = (field_t *) ND_shape_info(n); BF = f->b; BF.LL.x += ND_coord(n).x;...
43,928,197,196,246,710,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,470
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static point cvtPt(pointf p, int rankdir) { pointf q = { 0, 0 }; point Q; switch (rankdir) { case RANKDIR_TB: q = p; break; case RANKDIR_BT: q.x = p.x; q.y = -p.y; break; case RANKDIR_LR: q.y = p.x; q.x = -p.y; break; case RANKDIR_RL: q.y = p.x; q.x = p.y; break; } PF2P(q...
302,249,029,341,636,450,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,471
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
void resolvePorts(edge_t * e) { if (ED_tail_port(e).dyna) ED_tail_port(e) = resolvePort(agtail(e), aghead(e), &ED_tail_port(e)); if (ED_head_port(e).dyna) ED_head_port(e) = resolvePort(aghead(e), agtail(e), &ED_head_port(e)); }
220,665,652,229,237,660,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,472
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static int stylenode(GVJ_t * job, node_t * n) { char **pstyle, *s; int istyle; double penwidth; if ((pstyle = checkStyle(n, &istyle))) gvrender_set_style(job, pstyle); if (N_penwidth && ((s = agxget(n, N_penwidth)) && s[0])) { penwidth = late_double(n, N_penwidth, 1.0, 0.0); gvrender_set_penwid...
283,416,098,364,177,020,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,473
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void record_free(node_t * n) { field_t *p = ND_shape_info(n); free_field(p); }
36,001,196,968,194,760,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,474
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void gen_fields(GVJ_t * job, node_t * n, field_t * f) { int i; pointf AF[2], coord; if (f->lp) { f->lp->pos = add_pointf(mid_pointf(f->b.LL, f->b.UR), ND_coord(n)); emit_label(job, EMIT_NLABEL, f->lp); penColor(job, n); } coord = ND_coord(n); for (i = 0; i < f->n_flds; i++) { if (i ...
335,375,506,605,596,450,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,475
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static pointf star_size (pointf sz0) { pointf sz; double r0, r, rx, ry; rx = sz0.x/(2*cos(alpha)); ry = sz0.y/(sin(alpha) + sin(alpha3)); r0 = MAX(rx,ry); r = (r0*sin(alpha4)*cos(alpha2))/(cos(alpha)*cos(alpha4)); sz.x = 2*r*cos(alpha); sz.y = r*(1 + sin(alpha3)); return sz; }
294,568,655,322,041,050,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,476
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
char* penColor(GVJ_t * job, node_t * n) { char *color; color = late_nnstring(n, N_color, ""); if (!color[0]) color = DEFAULT_COLOR; gvrender_set_pencolor(job, color); return color; }
238,484,625,595,648,500,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,477
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static double invflip_angle(double angle, int rankdir) { switch (rankdir) { case RANKDIR_TB: break; case RANKDIR_BT: angle *= -1; break; case RANKDIR_LR: angle -= M_PI * 0.5; break; case RANKDIR_RL: if (angle == M_PI) angle = -0.5 * M_PI; else if (angle == M_PI * 0.75) angle = -0.25...
153,176,403,980,202,430,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,478
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static boolean epsf_inside(inside_t * inside_context, pointf p) { pointf P; double x2; node_t *n = inside_context->s.n; P = ccwrotatepf(p, 90 * GD_rankdir(agraphof(n))); x2 = ND_ht(n) / 2; return ((P.y >= -x2) && (P.y <= x2) && (P.x >= -ND_lw(n)) && (P.x <= ND_rw(n))); }
216,466,514,542,455,620,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,479
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void cylinder_vertices (pointf* vertices, pointf* bb) { double x = bb->x/2; double y = bb->y/2; double yr = bb->y/11; vertices[0].x = x; vertices[0].y = y-yr; vertices[1].x = x; vertices[1].y = y-(1-0.551784)*yr; vertices[2].x = 0.551784*x; vertices[2].y = y; vertices[3]....
235,685,621,569,975,350,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,480
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
boolean isPolygon(node_t * n) { return (ND_shape(n) && (ND_shape(n)->fns->initfn == poly_init)); }
319,797,852,702,518,670,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,481
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static field_t *map_rec_port(field_t * f, char *str) { field_t *rv; int sub; if (f->id && (streq(f->id, str))) rv = f; else { rv = NULL; for (sub = 0; sub < f->n_flds; sub++) if ((rv = map_rec_port(f->fld[sub], str))) break; } return rv; }
43,303,132,087,404,320,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,482
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static boolean star_inside(inside_t * inside_context, pointf p) { static node_t *lastn; /* last node argument */ static polygon_t *poly; static int outp, sides; static pointf *vertex; static pointf O; /* point (0,0) */ if (!inside_context) { lastn = NULL; return FALSE; } boxf *bp = i...
89,687,487,934,478,690,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,483
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static shape_desc *user_shape(char *name) { int i; shape_desc *p; if ((p = find_user_shape(name))) return p; i = N_UserShape++; UserShape = ALLOC(N_UserShape, UserShape, shape_desc *); p = UserShape[i] = NEW(shape_desc); *p = Shapes[0]; p->name = strdup(name); if (Lib == NULL && !s...
33,336,419,212,429,565,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,484
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
static void indent(int l) { int i; for (i = 0; i < l; i++) fputs(" ", stderr); }
331,552,736,270,171,620,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,485
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
void round_corners(GVJ_t * job, pointf * AF, int sides, int style, int filled) { pointf *B, C[5], *D, p0, p1; double rbconst, d, dx, dy, t; int i, seg, mode, shape; pointf* pts; shape = style & SHAPE_MASK; if (style & DIAGONALS) mode = DIAGONALS; else if (style & SHAPE_MASK) mode = shape;...
319,799,063,871,598,640,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,486
graphviz
784411ca3655c80da0f6025ab20634b2a6ff696b
https://gitlab.com/graphviz/graphviz
https://gitlab.com/graphviz/graphviz/-/commit/784411ca3655c80da0f6025ab20634b2a6ff696b
fix: out-of-bounds write on invalid label When the label for a node cannot be parsed (due to it being malformed), it falls back on the symbol name of the node itself. I.e. the default label the node would have had if it had no label attribute at all. However, this is applied by dynamically altering the node's label to...
0
isBox (node_t* n) { polygon_t *p; if ((p = ND_shape(n)->polygon)) { return (p->sides == 4 && (ROUND(p->orientation) % 90) == 0 && p->distortion == 0. && p->skew == 0.); } else return 0; }
105,374,462,417,680,160,000,000,000,000,000,000,000
None
null
[ "CWE-120" ]
CVE-2020-18032
Buffer Overflow in Graphviz Graph Visualization Tools from commit ID f8b9e035 and earlier allows remote attackers to execute arbitrary code or cause a denial of service (application crash) by loading a crafted file into the "lib/common/shapes.c" component.
https://nvd.nist.gov/vuln/detail/CVE-2020-18032
507,600
mod_auth_mellon
42a11261b9dad2e48d70bdff7c53dd57a12db6f5
https://github.com/Uninett/mod_auth_mellon
https://github.com/latchset/mod_auth_mellon/commit/42a11261b9dad2e48d70bdff7c53dd57a12db6f5
Prevent redirect to URLs that begin with '///' Visiting a logout URL like this: https://rp.example.co.jp/mellon/logout?ReturnTo=///fishing-site.example.com/logout.html would have redirected the user to fishing-site.example.com With the patch, this URL would be rejected. Fixes: CVE-2021-3639
0
int am_check_permissions(request_rec *r, am_cache_entry_t *session) { am_dir_cfg_rec *dir_cfg; int i, j; int skip_or = 0; const apr_array_header_t *backrefs = NULL; dir_cfg = am_get_dir_cfg(r); /* Iterate over all cond-directives */ for (i = 0; i < dir_cfg->cond->nelts; i++) { cons...
332,600,108,281,260,600,000,000,000,000,000,000,000
None
null
[ "CWE-601" ]
CVE-2021-3639
A flaw was found in mod_auth_mellon where it does not sanitize logout URLs properly. This issue could be used by an attacker to facilitate phishing attacks by tricking users into visiting a trusted web application URL that redirects to an external and potentially malicious server. The highest threat from this liability...
https://nvd.nist.gov/vuln/detail/CVE-2021-3639
507,601
mod_auth_mellon
42a11261b9dad2e48d70bdff7c53dd57a12db6f5
https://github.com/Uninett/mod_auth_mellon
https://github.com/latchset/mod_auth_mellon/commit/42a11261b9dad2e48d70bdff7c53dd57a12db6f5
Prevent redirect to URLs that begin with '///' Visiting a logout URL like this: https://rp.example.co.jp/mellon/logout?ReturnTo=///fishing-site.example.com/logout.html would have redirected the user to fishing-site.example.com With the patch, this URL would be rejected. Fixes: CVE-2021-3639
0
int am_check_url(request_rec *r, const char *url) { const char *i; if (url == NULL) { return HTTP_BAD_REQUEST; } for (i = url; *i; i++) { if (*i >= 0 && *i < ' ') { /* Deny all control-characters. */ AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, HTTP_BAD_REQUEST, r, ...
208,475,474,120,949,050,000,000,000,000,000,000,000
None
null
[ "CWE-601" ]
CVE-2021-3639
A flaw was found in mod_auth_mellon where it does not sanitize logout URLs properly. This issue could be used by an attacker to facilitate phishing attacks by tricking users into visiting a trusted web application URL that redirects to an external and potentially malicious server. The highest threat from this liability...
https://nvd.nist.gov/vuln/detail/CVE-2021-3639
507,604
mod_auth_mellon
42a11261b9dad2e48d70bdff7c53dd57a12db6f5
https://github.com/Uninett/mod_auth_mellon
https://github.com/latchset/mod_auth_mellon/commit/42a11261b9dad2e48d70bdff7c53dd57a12db6f5
Prevent redirect to URLs that begin with '///' Visiting a logout URL like this: https://rp.example.co.jp/mellon/logout?ReturnTo=///fishing-site.example.com/logout.html would have redirected the user to fishing-site.example.com With the patch, this URL would be rejected. Fixes: CVE-2021-3639
0
int am_validate_redirect_url(request_rec *r, const char *url) { am_dir_cfg_rec *cfg = am_get_dir_cfg(r); apr_uri_t uri; int ret; ret = apr_uri_parse(r->pool, url, &uri); if (ret != APR_SUCCESS) { AM_LOG_RERROR(APLOG_MARK, APLOG_ERR, 0, r, "Invalid redirect URL: %s", ur...
60,807,052,836,495,660,000,000,000,000,000,000,000
None
null
[ "CWE-601" ]
CVE-2021-3639
A flaw was found in mod_auth_mellon where it does not sanitize logout URLs properly. This issue could be used by an attacker to facilitate phishing attacks by tricking users into visiting a trusted web application URL that redirects to an external and potentially malicious server. The highest threat from this liability...
https://nvd.nist.gov/vuln/detail/CVE-2021-3639
507,605
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Session::OnBeginHeadersCallback(nghttp2_session* handle, const nghttp2_frame* frame, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); int32_t id = GetFrameID(frame); Debug(session, "beginnin...
262,014,877,391,269,770,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,606
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Settings::Done(bool ack) { uint64_t end = uv_hrtime(); double duration = (end - startTime_) / 1e6; Local<Value> argv[] = { ack ? v8::True(env()->isolate()) : v8::False(env()->isolate()), Number::New(env()->isolate(), duration) }; MakeCallback(callback(), arraysize(argv), argv); }
2,882,164,793,648,684,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,607
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Local<Function> Http2Ping::callback() const { return callback_.Get(env()->isolate()); }
288,961,394,637,898,970,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,608
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::MemoryInfo(MemoryTracker* tracker) const { tracker->TrackField("streams", streams_); tracker->TrackField("outstanding_pings", outstanding_pings_); tracker->TrackField("outstanding_settings", outstanding_settings_); tracker->TrackField("outgoing_buffers", outgoing_buffers_); tracker->TrackFi...
290,051,132,504,363,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,609
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
bool Http2Session::AddSettings(Local<Function> callback) { Local<Object> obj; if (!env()->http2settings_constructor_template() ->NewInstance(env()->context()) .ToLocal(&obj)) { return false; } BaseObjectPtr<Http2Settings> settings = MakeDetachedBaseObject<Http2Settings>(this, ...
324,931,302,567,389,260,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,610
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::Ping(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); // A PING frame may have exactly 8 bytes of payload data. If not provided, // then the current hrtime will be used as the payload. ArrayBufferViewContents<uint8_t, 8> pa...
212,354,499,700,302,670,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,611
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Session::Http2Session(Http2State* http2_state, Local<Object> wrap, SessionType type) : AsyncWrap(http2_state->env(), wrap, AsyncWrap::PROVIDER_HTTP2SESSION), js_fields_(http2_state->env()->isolate()), session_type_(type), http2_state_(http...
233,235,682,544,066,540,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,612
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void SetCallbackFunctions(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); CHECK_EQ(args.Length(), 11); #define SET_FUNCTION(arg, name) \ CHECK(args[arg]->IsFunction()); \ env->...
291,688,806,747,998,860,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,613
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Stream* Http2Stream::SubmitPushPromise(const Http2Headers& headers, int32_t* ret, int options) { CHECK(!this->is_destroyed()); Http2Scope h2scope(this); Debug(this, "sending push promise"); *ret = nghttp2_submit_push_pr...
188,441,565,718,208,260,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,614
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::Consume(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); CHECK(args[0]->IsObject()); session->Consume(args[0].As<Object>()); }
308,792,702,992,942,950,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,615
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::SubmitRstStream(const uint32_t code) { CHECK(!this->is_destroyed()); code_ = code; auto is_stream_cancel = [](const uint32_t code) { return code == NGHTTP2_CANCEL; }; // If RST_STREAM frame is received with error code NGHTTP2_CANCEL, // add it to the pending list and don't force purg...
62,829,948,650,623,250,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,616
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::Origin(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Local<Context> context = env->context(); Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); Local<String> origin_string = args[0].As<String>(); size_t count = args[1]...
92,422,487,376,932,980,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,617
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Stream* Http2Session::SubmitRequest( const Http2Priority& priority, const Http2Headers& headers, int32_t* ret, int options) { Debug(this, "submitting request"); Http2Scope h2scope(this); Http2Stream* stream = nullptr; Http2Stream::Provider::Stream prov(options); *ret = nghttp2_submit_requ...
37,362,923,841,694,635,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,618
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::StartHeaders(nghttp2_headers_category category) { Debug(this, "starting headers, category: %d", category); CHECK(!this->is_destroyed()); session_->DecrementCurrentSessionMemory(current_headers_length_); current_headers_length_ = 0; current_headers_.clear(); current_headers_category_ = cate...
36,256,715,780,991,897,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,619
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
bool Http2Stream::AddHeader(nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags) { CHECK(!this->is_destroyed()); if (Http2RcBufferPointer::IsZeroLength(name)) return true; // Ignore empty headers. Http2Header header(env(), name, value, flags); ...
98,656,961,829,960,780,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,620
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Session::OnInvalidFrame(nghttp2_session* handle, const nghttp2_frame* frame, int lib_error_code, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); const uint32_t max_invalid_fr...
206,528,816,554,593,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,621
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int32_t GetFrameID(const nghttp2_frame* frame) { // If this is a push promise, we want to grab the id of the promised stream return (frame->hd.type == NGHTTP2_PUSH_PROMISE) ? frame->push_promise.promised_stream_id : frame->hd.stream_id; }
236,970,641,227,612,200,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,622
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::RefreshState(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); Debug(session, "refreshing state"); AliasedFloat64Array& buffer = session->http2_state()->session_state_buffer; nghttp2_session* s = session->session(); buff...
130,958,045,909,463,200,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,623
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::RefreshState(const FunctionCallbackInfo<Value>& args) { Http2Stream* stream; ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); Debug(stream, "refreshing state"); CHECK_NOT_NULL(stream->session()); AliasedFloat64Array& buffer = stream->session()->http2_state()->stream_state_buffer; ...
233,814,985,832,416,970,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,624
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void PackSettings(const FunctionCallbackInfo<Value>& args) { Http2State* state = Environment::GetBindingData<Http2State>(args); args.GetReturnValue().Set(Http2Settings::Pack(state)); }
55,792,818,440,424,740,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,625
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::Origin(const Origins& origins) { Http2Scope h2scope(this); CHECK_EQ(nghttp2_submit_origin( session_.get(), NGHTTP2_FLAG_NONE, *origins, origins.length()), 0); }
256,744,497,691,877,200,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,626
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::New(const FunctionCallbackInfo<Value>& args) { Http2State* state = Environment::GetBindingData<Http2State>(args); Environment* env = state->env(); CHECK(args.IsConstructCall()); SessionType type = static_cast<SessionType>( args[0]->Int32Value(env->context()).ToChecked()); Ht...
284,867,339,474,615,600,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,627
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Stream::Provider::Provider(Http2Stream* stream, int options) { CHECK(!stream->is_destroyed()); provider_.source.ptr = stream; empty_ = options & STREAM_OPTION_EMPTY_PAYLOAD; }
50,282,014,792,200,930,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,628
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::IncrementAvailableOutboundLength(size_t amount) { available_outbound_length_ += amount; session_->IncrementCurrentSessionMemory(amount); }
122,650,574,510,726,960,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,629
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Stream::SubmitTrailers(const Http2Headers& headers) { CHECK(!this->is_destroyed()); Http2Scope h2scope(this); Debug(this, "sending %d trailers", headers.length()); int ret; // Sending an empty trailers frame poses problems in Safari, Edge & IE. // Instead we can just send an empty data frame with N...
314,455,423,663,532,900,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,630
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::SetLocalWindowSize( const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); int32_t window_size = args[0]->Int32Value(env->context()).ToChecked(); int result = nghttp2_session...
191,397,134,590,940,600,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,631
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Local<Value> Http2Settings::Pack() { return Pack(session_->env(), count_, entries_); }
283,837,715,006,663,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,632
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::HandlePriorityFrame(const nghttp2_frame* frame) { if (js_fields_->priority_listener_count == 0) return; Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); nghttp2_priority priority_frame = fra...
235,477,090,042,647,480,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,633
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Ping::Done(bool ack, const uint8_t* payload) { uint64_t duration_ns = uv_hrtime() - startTime_; double duration_ms = duration_ns / 1e6; if (session_) session_->statistics_.ping_rtt = duration_ns; Isolate* isolate = env()->isolate(); HandleScope handle_scope(isolate); Context::Scope context_scope(...
268,918,192,461,313,500,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,634
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Initialize(Local<Object> target, Local<Value> unused, Local<Context> context, void* priv) { Environment* env = Environment::GetCurrent(context); Isolate* isolate = env->isolate(); HandleScope handle_scope(isolate); Http2State* const state = env->AddBindingDa...
277,761,393,434,568,330,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,635
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::EmitStatistics() { if (LIKELY(!HasHttp2Observer(env()))) return; double start = statistics_.start_time / 1e6; double duration = (PERFORMANCE_NOW() / 1e6) - start; std::unique_ptr<Http2SessionPerformanceEntry> entry = std::make_unique<Http2SessionPerformanceEntry>( "Http2...
274,924,184,573,652,440,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,636
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
BaseObjectPtr<Http2Settings> Http2Session::PopSettings() { BaseObjectPtr<Http2Settings> settings; if (!outstanding_settings_.empty()) { settings = std::move(outstanding_settings_.front()); outstanding_settings_.pop(); DecrementCurrentSessionMemory(sizeof(*settings)); } return settings; }
314,924,413,583,760,100,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,637
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::UpdateChunksSent(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Isolate* isolate = env->isolate(); HandleScope scope(isolate); Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); uint32_t length = session->chunks_sent_sin...
271,291,934,293,374,460,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,638
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Stream::~Http2Stream() { Debug(this, "tearing down stream"); }
112,478,573,467,581,710,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,639
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::MemoryInfo(MemoryTracker* tracker) const { tracker->TrackField("current_headers", current_headers_); tracker->TrackField("queue", queue_); }
217,717,973,250,231,900,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,640
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void RefreshDefaultSettings(const FunctionCallbackInfo<Value>& args) { Http2State* state = Environment::GetBindingData<Http2State>(args); Http2Settings::RefreshDefaults(state); }
9,546,612,351,129,154,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,641
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::HandleGoawayFrame(const nghttp2_frame* frame) { Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); nghttp2_goaway goaway_frame = frame->goaway; Debug(this, "handling goaway frame"); Local<V...
166,706,173,212,942,530,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,642
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Scope::Http2Scope(Http2Session* session) : session_(session) { if (!session_) return; // If there is another scope further below on the stack, or // a write is already scheduled, there's nothing to do. if (session_->is_in_scope() || session_->is_write_scheduled()) { session_.reset(); return; } ...
150,062,859,543,376,990,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,643
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::StopTrackingRcbuf(nghttp2_rcbuf* buf) { StopTrackingMemory(buf); }
228,984,732,689,144,160,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,644
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::OnTrailers() { Debug(this, "let javascript know we are ready for trailers"); CHECK(!this->is_destroyed()); Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); set_has_trailers(false); MakeCal...
330,366,918,958,256,460,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,645
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::DecrementAvailableOutboundLength(size_t amount) { available_outbound_length_ -= amount; session_->DecrementCurrentSessionMemory(amount); }
330,517,889,270,208,800,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,646
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Stream::DoWrite(WriteWrap* req_wrap, uv_buf_t* bufs, size_t nbufs, uv_stream_t* send_handle) { CHECK_NULL(send_handle); Http2Scope h2scope(this); if (!is_writable() || is_destroyed()) { req_wrap->Done(UV_EOF); return 0; ...
203,573,499,824,674,020,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,647
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::Destroy(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); Debug(session, "destroying session"); Environment* env = Environment::GetCurrent(args); Local<Context> context = env->context(); uint32_t code = args[0]->Uint32Valu...
131,665,377,546,276,580,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,648
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Session::HandleDataFrame(const nghttp2_frame* frame) { int32_t id = GetFrameID(frame); Debug(this, "handling data frame for stream %d", id); BaseObjectPtr<Http2Stream> stream = FindStream(id); if (stream && !stream->is_destroyed() && frame->hd.flags & NGHTTP2_FLAG_END_STREAM) { stream-...
185,585,786,248,769,400,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,649
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::RefreshSettings(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); Http2Settings::Update(session, fn); Debug(session, "settings refreshed for session"); }
224,087,278,967,459,840,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,650
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
BaseObjectPtr<Http2Ping> Http2Session::PopPing() { BaseObjectPtr<Http2Ping> ping; if (!outstanding_pings_.empty()) { ping = std::move(outstanding_pings_.front()); outstanding_pings_.pop(); DecrementCurrentSessionMemory(sizeof(*ping)); } return ping; }
186,130,743,438,916,330,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,651
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Stream::SubmitInfo(const Http2Headers& headers) { CHECK(!this->is_destroyed()); Http2Scope h2scope(this); Debug(this, "sending %d informational headers", headers.length()); int ret = nghttp2_submit_headers( session_->session(), NGHTTP2_FLAG_NONE, id_, nullptr, headers.data...
185,732,356,116,149,300,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,652
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::SetNextStreamID(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); int32_t id = args[0]->Int32Value(env->context()).ToChecked(); if (nghttp2_session_set_next_stream_id(session-...
62,695,673,941,559,590,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,653
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
bool Http2Session::HasWritesOnSocketForStream(Http2Stream* stream) { for (const NgHttp2StreamWrite& wr : outgoing_buffers_) { if (wr.req_wrap && WriteWrap::FromObject(wr.req_wrap)->stream() == stream) return true; } return false; }
270,245,998,296,789,880,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,654
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Ping::Send(const uint8_t* payload) { CHECK(session_); uint8_t data[8]; if (payload == nullptr) { memcpy(&data, &startTime_, arraysize(data)); payload = data; } Http2Scope h2scope(session_.get()); CHECK_EQ(nghttp2_submit_ping( session_->session(), NGHTTP2_FLAG_NONE, payloa...
249,496,848,893,679,730,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,655
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::ClearOutgoing(int status) { CHECK(is_sending()); set_sending(false); if (!outgoing_buffers_.empty()) { outgoing_storage_.clear(); outgoing_length_ = 0; std::vector<NgHttp2StreamWrite> current_outgoing_buffers_; current_outgoing_buffers_.swap(outgoing_buffers_); for (const...
33,394,185,390,910,100,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,656
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::OnStreamRead(ssize_t nread, const uv_buf_t& buf_) { HandleScope handle_scope(env()->isolate()); Context::Scope context_scope(env()->context()); Http2Scope h2scope(this); CHECK_NOT_NULL(stream_); Debug(this, "receiving %d bytes, offset %d", nread, stream_buf_offset_); AllocatedBuffer buf(e...
120,264,692,041,667,320,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,657
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
uint8_t Http2Session::SendPendingData() { Debug(this, "sending pending data"); // Do not attempt to send data on the socket if the destroying flag has // been set. That means everything is shutting down and the socket // will not be usable. if (is_destroyed()) return 0; set_write_scheduled(false); //...
276,156,878,980,439,650,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,658
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::Respond(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Http2Stream* stream; ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); Local<Array> headers = args[0].As<Array>(); int32_t options = args[1]->Int32Value(env->context()).ToChecked(); args.G...
134,897,224,805,546,280,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,659
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
int Http2Session::OnFrameNotSent(nghttp2_session* handle, const nghttp2_frame* frame, int error_code, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); Environment* env = session->env()...
150,456,347,467,161,500,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,660
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Options::Http2Options(Http2State* http2_state, SessionType type) { nghttp2_option* option; CHECK_EQ(nghttp2_option_new(&option), 0); CHECK_NOT_NULL(option); options_.reset(option); // Make sure closed connections aren't kept around, taking up memory. // Note that this breaks the priority tree, which w...
314,258,561,173,846,600,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,661
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::CheckAllocatedSize(size_t previous_size) const { CHECK_GE(current_nghttp2_memory_, previous_size); }
300,412,069,580,548,700,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,662
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2State::MemoryInfo(MemoryTracker* tracker) const { tracker->TrackField("root_buffer", root_buffer); }
269,749,214,354,255,270,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,663
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::HandleSettingsFrame(const nghttp2_frame* frame) { bool ack = frame->hd.flags & NGHTTP2_FLAG_ACK; if (!ack) { js_fields_->bitfield &= ~(1 << kSessionRemoteSettingsIsUpToDate); if (!(js_fields_->bitfield & (1 << kSessionHasRemoteSettingsListeners))) return; // This is not a SETTIN...
97,387,726,188,534,020,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,664
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::DecreaseAllocatedSize(size_t size) { current_nghttp2_memory_ -= size; }
224,873,495,178,863,400,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,665
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Stream::Priority(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Http2Stream* stream; ASSIGN_OR_RETURN_UNWRAP(&stream, args.Holder()); CHECK_EQ(stream->SubmitPriority( Http2Priority(env, args[0], args[1], args[2]), args[3]->IsTrue()), 0); Deb...
264,956,775,007,742,400,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,666
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
Http2Priority::Http2Priority(Environment* env, Local<Value> parent, Local<Value> weight, Local<Value> exclusive) { Local<Context> context = env->context(); int32_t parent_ = parent->Int32Value(context).ToChecked(); int32_t weig...
32,234,704,259,752,337,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,667
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
MaybeLocal<Object> Http2SessionPerformanceEntryTraits::GetDetails( Environment* env, const Http2SessionPerformanceEntry& entry) { Local<Object> obj = Object::New(env->isolate()); #define SET(name, val) \ if (!obj->Set( ...
301,490,533,589,488,940,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,668
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::HandleOriginFrame(const nghttp2_frame* frame) { Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); Debug(this, "handling origin frame"); nghttp2_extension ext = frame->ext; nghttp2_ext_orig...
166,626,087,447,117,890,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,669
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
nghttp2_stream* Http2Stream::operator*() const { return stream(); }
96,382,668,054,993,180,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940
507,670
node
a3c33d4ce78f74d1cf1765704af5b427aa3840a6
https://github.com/joyent/node
https://github.com/nodejs/node/commit/a3c33d4ce78f74d1cf1765704af5b427aa3840a6
http2: update handling of rst_stream with error code NGHTTP2_CANCEL The PR updates the handling of rst_stream frames and adds all streams to the pending list on receiving rst frames with the error code NGHTTP2_CANCEL. The changes will remove dependency on the stream state that may allow bypassing the checks in certai...
0
void Http2Session::AltSvc(int32_t id, uint8_t* origin, size_t origin_len, uint8_t* value, size_t value_len) { Http2Scope h2scope(this); CHECK_EQ(nghttp2_submit_altsvc(session_.get(), NGHTTP2_FLAG_NONE, id, ...
334,728,553,293,045,170,000,000,000,000,000,000,000
None
null
[ "CWE-416" ]
CVE-2021-22940
Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.
https://nvd.nist.gov/vuln/detail/CVE-2021-22940