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,671
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(Http2State* state) { nghttp2_settings_entry entries[IDX_SETTINGS_COUNT]; size_t count = Init(state, entries); return Pack(state->env(), count, entries); }
27,838,040,797,443,610,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,672
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() { CHECK(!is_in_scope()); Debug(this, "freeing nghttp2 session"); // Explicitly reset session_ so the subsequent // current_nghttp2_memory_ check passes. session_.reset(); CHECK_EQ(current_nghttp2_memory_, 0); }
226,083,407,530,810,620,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,673
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
Http2Settings::Http2Settings(Http2Session* session, Local<Object> obj, Local<Function> callback, uint64_t start_time) : AsyncWrap(session->env(), obj, PROVIDER_HTTP2SETTINGS), session_(session), startTime_(start_time)...
76,294,186,104,286,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,674
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<Http2Stream> Http2Session::RemoveStream(int32_t id) { BaseObjectPtr<Http2Stream> stream; if (streams_.empty()) return stream; stream = FindStream(id); if (stream) { streams_.erase(id); DecrementCurrentSessionMemory(sizeof(*stream)); } return stream; }
196,879,908,581,867,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,675
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::Close(int32_t code) { CHECK(!this->is_destroyed()); set_closed(); code_ = code; Debug(this, "closed with code %d", code); }
11,865,227,302,546,703,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,676
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::AddPing(const uint8_t* payload, Local<Function> callback) { Local<Object> obj; if (!env()->http2ping_constructor_template() ->NewInstance(env()->context()) .ToLocal(&obj)) { return false; } BaseObjectPtr<Http2Ping> ping = MakeDetachedBaseObject<Http2Ping>(th...
293,612,571,368,884,240,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,677
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
size_t Http2Settings::Init( Http2State* http2_state, nghttp2_settings_entry* entries) { AliasedUint32Array& buffer = http2_state->settings_buffer; uint32_t flags = buffer[IDX_SETTINGS_COUNT]; size_t count = 0; #define V(name) GRABSETTING(entries, count, name); HTTP2_SETTINGS(V) #undef V return coun...
295,046,666,884,983,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,678
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::MemoryInfo(MemoryTracker* tracker) const { tracker->TrackField("callback", callback_); }
95,620,367,854,588,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,679
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 HttpErrorString(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); uint32_t val = args[0]->Uint32Value(env->context()).ToChecked(); args.GetReturnValue().Set( OneByteString( env->isolate(), reinterpret_cast<const uint8_t*>(nghttp2_strerror(v...
189,206,080,641,677,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,680
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::OnDataChunkReceived(nghttp2_session* handle, uint8_t flags, int32_t id, const uint8_t* data, size_t len, void* u...
322,414,923,503,081,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,681
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::SubmitPriority(const Http2Priority& priority, bool silent) { CHECK(!this->is_destroyed()); Http2Scope h2scope(this); Debug(this, "sending priority spec"); int ret = silent ? nghttp2_session_change_stream_priority( session_->session(), id...
171,688,339,484,284,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,682
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::Request(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); Environment* env = session->env(); Local<Array> headers = args[0].As<Array>(); int32_t options = args[1]->Int32Value(env->context()).ToChecked(); Debug(session, "r...
310,925,404,958,331,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,683
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
Http2Ping::Http2Ping( Http2Session* session, Local<Object> obj, Local<Function> callback) : AsyncWrap(session->env(), obj, AsyncWrap::PROVIDER_HTTP2PING), session_(session), startTime_(uv_hrtime()) { callback_.Reset(env()->isolate(), callback); }
38,095,176,798,170,846,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,684
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::Update(Http2Session* session, get_setting fn) { AliasedUint32Array& buffer = session->http2_state()->settings_buffer; #define V(name) \ buffer[IDX_SETTINGS_ ## name] = \ fn(session-...
306,465,783,631,503,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,685
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::MaybeStopReading() { if (is_reading_stopped()) return; int want_read = nghttp2_session_want_read(session_.get()); Debug(this, "wants read? %d", want_read); if (want_read == 0 || is_write_in_progress()) { set_reading_stopped(); stream_->ReadStop(); } }
85,336,471,254,451,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,686
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::Goaway(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Local<Context> context = env->context(); Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); uint32_t code = args[0]->Uint32Value(context).ToChecked(); int32_t lastStr...
143,230,745,936,961,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,687
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::HandleAltSvcFrame(const nghttp2_frame* frame) { if (!(js_fields_->bitfield & (1 << kSessionHasAltsvcListeners))) return; Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); int32_t id = GetFram...
157,349,503,988,665,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,688
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
uv_buf_t Http2Session::OnStreamAlloc(size_t suggested_size) { return AllocatedBuffer::AllocateManaged(env(), suggested_size).release(); }
279,695,078,993,840,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,689
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::Goaway(uint32_t code, int32_t lastStreamID, const uint8_t* data, size_t len) { if (is_destroyed()) return; Http2Scope h2scope(this); // the last proc stream id is the most recently created Http2Stream. if (last...
266,105,349,890,492,050,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,690
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::MaybeScheduleWrite() { CHECK(!is_write_scheduled()); if (UNLIKELY(!session_)) return; if (nghttp2_session_want_write(session_.get())) { HandleScope handle_scope(env()->isolate()); Debug(this, "scheduling write"); set_write_scheduled(); BaseObjectPtr<Http2Session> strong_ref...
126,573,560,511,634,040,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,691
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::EmitStatistics() { CHECK_NOT_NULL(session()); if (LIKELY(!HasHttp2Observer(env()))) return; double start = statistics_.start_time / 1e6; double duration = (PERFORMANCE_NOW() / 1e6) - start; std::unique_ptr<Http2StreamPerformanceEntry> entry = std::make_unique<Http2StreamPerforman...
307,067,259,633,699,630,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,692
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::Receive(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); CHECK(args[0]->IsObject()); ArrayBufferViewContents<char> buffer(args[0]); const char* data = buffer.data(); size_t len = buffer.length(); Debug(session, "Receivi...
182,350,510,235,444,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,693
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::CanAddStream() { uint32_t maxConcurrentStreams = nghttp2_session_get_local_settings( session_.get(), NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS); size_t maxSize = std::min(streams_.max_size(), static_cast<size_t>(maxConcurrentStreams)); // We can add a new stream so long as w...
127,533,132,751,878,230,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,694
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::OnStreamAfterWrite(WriteWrap* w, int status) { Debug(this, "write finished with status %d", status); CHECK(is_write_in_progress()); set_write_in_progress(false); // Inform all pending writes about their completion. ClearOutgoing(status); if (is_reading_stopped() && !is_write_in_p...
97,946,980,373,892,490,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,695
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> Http2StreamPerformanceEntryTraits::GetDetails( Environment* env, const Http2StreamPerformanceEntry& entry) { Local<Object> obj = Object::New(env->isolate()); #define SET(name, val) \ if (!obj->Set( ...
50,343,639,997,968,640,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,696
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::PushOutgoingBuffer(NgHttp2StreamWrite&& write) { outgoing_length_ += write.buf.len; outgoing_buffers_.emplace_back(std::move(write)); }
28,248,524,948,398,087,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,697
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::Close(uint32_t code, bool socket_closed) { Debug(this, "closing session"); if (is_closing()) return; set_closing(); // Stop reading on the i/o stream if (stream_ != nullptr) { set_reading_stopped(); stream_->ReadStop(); } // If the socket is not closed, then attempt to se...
293,276,891,956,315,520,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,698
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::Trailers(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>(); args.GetReturnValue().Set( stream->SubmitTrailers(Http2Headers(env, ...
12,310,912,649,754,127,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,699
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::Callbacks::Callbacks(bool kHasGetPaddingCallback) { nghttp2_session_callbacks* callbacks_; CHECK_EQ(nghttp2_session_callbacks_new(&callbacks_), 0); callbacks.reset(callbacks_); nghttp2_session_callbacks_set_on_begin_headers_callback( callbacks_, OnBeginHeadersCallback); nghttp2_session_call...
86,359,669,872,967,850,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,700
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
ssize_t Http2Session::OnSelectPadding(nghttp2_session* handle, const nghttp2_frame* frame, size_t maxPayloadLen, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); ssize_t...
264,050,910,952,597,000,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,701
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::DoShutdown(ShutdownWrap* req_wrap) { if (is_destroyed()) return UV_EPIPE; { Http2Scope h2scope(this); set_not_writable(); CHECK_NE(nghttp2_session_resume_data( session_->session(), id_), NGHTTP2_ERR_NOMEM); Debug(this, "writable side shutdown"); } return 1; ...
274,590,963,419,937,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,702
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(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(); // origin and value are both required to be ASCII, han...
124,226,739,447,966,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,703
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::HandleHeadersFrame(const nghttp2_frame* frame) { Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); int32_t id = GetFrameID(frame); Debug(this, "handle headers frame for stream %d", id); Bas...
315,105,819,629,865,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,704
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::RefreshDefaults(Http2State* http2_state) { AliasedUint32Array& buffer = http2_state->settings_buffer; uint32_t flags = 0; #define V(name) \ do { \ buffer[IDX_SETT...
335,938,206,328,865,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,705
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::Info(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>(); args.GetReturnValue().Set(stream->SubmitInfo(Http2Headers(env, headers))); }
109,870,716,558,099,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,706
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::DetachFromSession() { session_.reset(); }
131,474,105,254,153,680,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,707
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::OnStreamClose(nghttp2_session* handle, int32_t id, uint32_t code, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); Environment* env = session->env(); Isolate* isolate ...
263,018,632,493,780,850,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,708
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() { if (!session_) return; session_->set_in_scope(false); if (!session_->is_write_scheduled()) session_->MaybeScheduleWrite(); }
117,538,105,427,819,630,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,709
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::AddStream(Http2Stream* stream) { CHECK_GE(++statistics_.stream_count, 0); streams_[stream->id()] = BaseObjectPtr<Http2Stream>(stream); size_t size = streams_.size(); if (size > statistics_.max_concurrent_streams) statistics_.max_concurrent_streams = size; IncrementCurrentSessionMemory(s...
42,182,533,556,357,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,710
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( Environment* env, size_t count, const nghttp2_settings_entry* entries) { EscapableHandleScope scope(env->isolate()); const size_t size = count * 6; AllocatedBuffer buffer = AllocatedBuffer::AllocateManaged(env, size); ssize_t ret = nghttp2_pack_settings_payloa...
279,189,455,646,139,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,711
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::ReadStart() { Http2Scope h2scope(this); CHECK(!this->is_destroyed()); set_reading(); Debug(this, "reading starting"); // Tell nghttp2 about our consumption of the data that was handed // off to JS land. nghttp2_session_consume_stream( session_->session(), id_, inbound_...
222,058,883,402,226,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,712
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::Send() { Http2Scope h2scope(session_.get()); CHECK_EQ(nghttp2_submit_settings( session_->session(), NGHTTP2_FLAG_NONE, &entries_[0], count_), 0); }
135,783,088,050,487,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,713
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::HandlePingFrame(const nghttp2_frame* frame) { Isolate* isolate = env()->isolate(); HandleScope scope(isolate); Local<Context> context = env()->context(); Context::Scope context_scope(context); Local<Value> arg; bool ack = frame->hd.flags & NGHTTP2_FLAG_ACK; if (ack) { BaseObjectPtr<...
317,967,609,929,474,570,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,714
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::CopyDataIntoOutgoing(const uint8_t* src, size_t src_length) { size_t offset = outgoing_storage_.size(); outgoing_storage_.resize(offset + src_length); memcpy(&outgoing_storage_[offset], src, src_length); // Store with a base of `nullptr` initially, since future resizes // of the outgoing_b...
309,523,598,440,422,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,715
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::PushPromise(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); Http2Stream* parent; ASSIGN_OR_RETURN_UNWRAP(&parent, args.Holder()); Local<Array> headers = args[0].As<Array>(); int32_t options = args[1]->Int32Value(env->context()).ToChecked(); De...
59,658,481,161,915,195,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,716
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 NgHttp2StreamWrite::MemoryInfo(MemoryTracker* tracker) const { if (req_wrap) tracker->TrackField("req_wrap", req_wrap); tracker->TrackField("buf", buf); }
276,270,210,914,904,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,717
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::ConsumeHTTP2Data() { CHECK_NOT_NULL(stream_buf_.base); CHECK_LE(stream_buf_offset_, stream_buf_.len); size_t read_len = stream_buf_.len - stream_buf_offset_; // multiple side effects. Debug(this, "receiving %d bytes [wants data? %d]", read_len, nghttp2_session_want_read(ses...
319,358,667,469,036,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,718
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::OnSendData( nghttp2_session* session_, nghttp2_frame* frame, const uint8_t* framehd, size_t length, nghttp2_data_source* source, void* user_data) { Http2Session* session = static_cast<Http2Session*>(user_data); BaseObjectPtr<Http2Stream> stream = session->FindSt...
106,006,740,351,721,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,719
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> Http2Settings::callback() const { return callback_.Get(env()->isolate()); }
333,733,276,505,672,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,720
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::MemoryInfo(MemoryTracker* tracker) const { tracker->TrackField("callback", callback_); }
265,004,052,572,641,720,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,721
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::OnNghttpError(nghttp2_session* handle, const char* message, size_t len, void* user_data) { // Unfortunately, this is currently the only way for us to know if // the session errored because the peer is n...
320,797,291,433,587,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,722
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
Origins::Origins( Environment* env, Local<String> origin_string, size_t origin_count) : count_(origin_count) { int origin_string_len = origin_string->Length(); if (count_ == 0) { CHECK_EQ(origin_string_len, 0); return; } buf_ = AllocatedBuffer::AllocateManaged( env, (alignof...
74,034,968,299,279,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,723
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::OnHeaderCallback(nghttp2_session* handle, const nghttp2_frame* frame, nghttp2_rcbuf* name, nghttp2_rcbuf* value, uint8_t flags, ...
125,084,016,743,709,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,724
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::FlushRstStream() { if (is_destroyed()) return; Http2Scope h2scope(this); CHECK_EQ(nghttp2_submit_rst_stream( session_->session(), NGHTTP2_FLAG_NONE, id_, code_), 0); }
256,865,650,201,420,430,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,725
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::Settings(const FunctionCallbackInfo<Value>& args) { Http2Session* session; ASSIGN_OR_RETURN_UNWRAP(&session, args.Holder()); CHECK(args[0]->IsFunction()); args.GetReturnValue().Set(session->AddSettings(args[0].As<Function>())); }
306,880,336,815,595,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,726
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
ssize_t Http2Stream::Provider::Stream::OnRead(nghttp2_session* handle, int32_t id, uint8_t* buf, size_t length, uint32_t* flags, ...
320,696,681,703,076,380,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,727
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<Http2Stream> Http2Session::FindStream(int32_t id) { auto s = streams_.find(id); return s != streams_.end() ? s->second : BaseObjectPtr<Http2Stream>(); }
158,452,927,179,246,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,728
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::ReadStop() { CHECK(!this->is_destroyed()); if (!is_reading()) return 0; set_paused(); Debug(this, "reading stopped"); return 0; }
66,695,638,591,952,380,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,729
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
ShutdownWrap* Http2Stream::CreateShutdownWrap(v8::Local<v8::Object> object) { // DoShutdown() always finishes synchronously, so there's no need to create // a structure to store asynchronous context. return nullptr; }
322,034,871,343,297,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,730
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(Local<Object> stream_obj) { StreamBase* stream = StreamBase::FromObject(stream_obj); stream->PushStreamListener(this); Debug(this, "i/o stream consumed"); }
465,641,653,423,728,240,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,731
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::stream() const { return nghttp2_session_find_stream(session_->session(), id_); }
167,313,905,579,319,350,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,732
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 HasHttp2Observer(Environment* env) { AliasedUint32Array& observers = env->performance_state()->observers; return observers[performance::NODE_PERFORMANCE_ENTRY_TYPE_HTTP2] != 0; }
5,732,736,856,977,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,733
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(Http2Session* session, Local<Object> obj, int32_t id, nghttp2_headers_category category, int options) : AsyncWrap(session->env(), obj, AsyncWrap::PROVIDER_HTTP2STREAM), StreamBase(sessi...
94,793,507,385,114,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,734
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::SubmitResponse(const Http2Headers& headers, int options) { CHECK(!this->is_destroyed()); Http2Scope h2scope(this); Debug(this, "submitting response"); if (options & STREAM_OPTION_GET_TRAILERS) set_has_trailers(); if (!is_writable()) options |= STREAM_OPTION_EMPTY_PAYLOAD; Http2Str...
295,510,172,673,692,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,735
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 Http2StreamListener::OnStreamRead(ssize_t nread, const uv_buf_t& buf) { Http2Stream* stream = static_cast<Http2Stream*>(stream_); Http2Session* session = stream->session(); Environment* env = stream->env(); HandleScope handle_scope(env->isolate()); Context::Scope context_scope(env->context()); if (nre...
326,675,147,974,719,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,736
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::Destroy() { // Do nothing if this stream instance is already destroyed if (is_destroyed()) return; if (session_->has_pending_rststream(id_)) FlushRstStream(); set_destroyed(); Debug(this, "destroying stream"); // Wait until the start of the next loop to delete because there // ...
24,743,610,332,459,466,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,737
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::IncreaseAllocatedSize(size_t size) { current_nghttp2_memory_ += size; }
332,914,899,884,984,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,782
openssl
2d0e5d4a4a5d4332325b5e5cea492fad2be633e1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/2d0e5d4a4a5d4332325b5e5cea492fad2be633e1
Fix NETSCAPE_SPKI_print function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int NETSCAPE_SPKI_print(BIO *out, NETSCAPE_SPKI *spki) { EVP_PKEY *pkey; ASN1_IA5STRING *chal; ASN1_OBJECT *spkioid; int i, n; char *s; BIO_printf(out, "Netscape SPKI:\n"); X509_PUBKEY_get0_param(&spkioid, NULL, NULL, NULL, spki->spkac->pubkey); i = OBJ_obj2nid(spkioid); BIO_printf(o...
259,378,294,628,884,240,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,783
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int do_check_string(const ASN1_STRING *a, int cmp_type, equal_fn equal, unsigned int flags, const char *b, size_t blen, char **peername) { int rv = 0; if (!a->data || !a->length) return 0; if (cmp_type > 0) { if (cmp_type != a->ty...
211,328,679,613,804,700,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,784
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int ipv6_hex(unsigned char *out, const char *in, int inlen) { unsigned char c; unsigned int num = 0; int x; if (inlen > 4) return 0; while (inlen--) { c = *in++; num <<= 4; x = OPENSSL_hexchar2int(c); if (x < 0) return 0; num |= (ch...
186,253,074,388,899,250,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,785
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x) { AUTHORITY_INFO_ACCESS *info; STACK_OF(OPENSSL_STRING) *ret = NULL; int i; info = X509_get_ext_d2i(x, NID_info_access, NULL, NULL); if (!info) return NULL; for (i = 0; i < sk_ACCESS_DESCRIPTION_num(info); i++) { ACCESS_DESCRIPTI...
105,261,710,097,930,920,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,786
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static const unsigned char *valid_star(const unsigned char *p, size_t len, unsigned int flags) { const unsigned char *star = 0; size_t i; int state = LABEL_START; int dots = 0; for (i = 0; i < len; ++i) { /* * Locate first and only legal wildca...
14,269,444,009,712,439,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,787
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
STACK_OF(CONF_VALUE) *X509V3_parse_list(const char *line) { char *p, *q, c; char *ntmp, *vtmp; STACK_OF(CONF_VALUE) *values = NULL; char *linebuf; int state; /* We are going to modify the line so copy it first */ linebuf = OPENSSL_strdup(line); if (linebuf == NULL) { X509V3err(X5...
244,851,718,963,108,280,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,788
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_add_value(const char *name, const char *value, STACK_OF(CONF_VALUE) **extlist) { return x509v3_add_len_value(name, value, value != NULL ? strlen((const char *)value) : 0, extlist); }
94,779,549,430,876,800,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,789
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
ASN1_INTEGER *s2i_ASN1_INTEGER(X509V3_EXT_METHOD *method, const char *value) { BIGNUM *bn = NULL; ASN1_INTEGER *aint; int isneg, ishex; int ret; if (value == NULL) { X509V3err(X509V3_F_S2I_ASN1_INTEGER, X509V3_R_INVALID_NULL_VALUE); return NULL; } bn = BN_new(); if (bn ==...
38,909,080,652,947,116,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,790
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int ipv6_cb(const char *elem, int len, void *usr) { IPV6_STAT *s = usr; /* Error if 16 bytes written */ if (s->total == 16) return 0; if (len == 0) { /* Zero length element, corresponds to '::' */ if (s->zero_pos == -1) s->zero_pos = s->total; /* If we'...
53,229,723,344,928,980,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,791
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static void str_free(OPENSSL_STRING str) { OPENSSL_free(str); }
7,173,599,810,096,179,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,792
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
void X509_email_free(STACK_OF(OPENSSL_STRING) *sk) { sk_OPENSSL_STRING_pop_free(sk, str_free); }
221,685,315,129,803,930,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,793
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int wildcard_match(const unsigned char *prefix, size_t prefix_len, const unsigned char *suffix, size_t suffix_len, const unsigned char *subject, size_t subject_len, unsigned int flags) { const unsigned char *wildcard_start; con...
112,497,563,557,930,250,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,794
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
char *i2s_ASN1_INTEGER(X509V3_EXT_METHOD *method, const ASN1_INTEGER *a) { BIGNUM *bntmp = NULL; char *strtmp = NULL; if (!a) return NULL; if ((bntmp = ASN1_INTEGER_to_BN(a, NULL)) == NULL || (strtmp = bignum_to_string(bntmp)) == NULL) X509V3err(X509V3_F_I2S_ASN1_INTEGER, ERR_R_...
201,344,025,658,230,730,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,795
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_add_value_bool(const char *name, int asn1_bool, STACK_OF(CONF_VALUE) **extlist) { if (asn1_bool) return X509V3_add_value(name, "TRUE", extlist); return X509V3_add_value(name, "FALSE", extlist); }
314,875,587,765,411,850,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,796
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int equal_wildcard(const unsigned char *pattern, size_t pattern_len, const unsigned char *subject, size_t subject_len, unsigned int flags) { const unsigned char *star = NULL; /* * Subject names starting with '.' can only match a wildcard pattern ...
300,913,419,376,167,850,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,797
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int equal_email(const unsigned char *a, size_t a_len, const unsigned char *b, size_t b_len, unsigned int unused_flags) { size_t i = a_len; if (a_len != b_len) return 0; /* * We search backwards for the '@' character, so that we do not have to...
207,799,839,639,172,000,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,798
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen, unsigned int flags) { if (chk == NULL) return -2; return do_x509_check(x, (char *)chk, chklen, flags, GEN_IPADD, NULL); }
258,685,435,362,780,140,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,799
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
ASN1_OCTET_STRING *a2i_IPADDRESS(const char *ipasc) { unsigned char ipout[16]; ASN1_OCTET_STRING *ret; int iplen; /* If string contains a ':' assume IPv6 */ iplen = a2i_ipadd(ipout, ipasc); if (!iplen) return NULL; ret = ASN1_OCTET_STRING_new(); if (ret == NULL) retur...
17,250,431,733,570,887,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,800
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool) { const char *btmp; if ((btmp = value->value) == NULL) goto err; if (strcmp(btmp, "TRUE") == 0 || strcmp(btmp, "true") == 0 || strcmp(btmp, "Y") == 0 || strcmp(btmp, "y") == 0 || strcmp(btmp, "YES") =...
166,217,906,427,533,960,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,801
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
ASN1_OCTET_STRING *a2i_IPADDRESS_NC(const char *ipasc) { ASN1_OCTET_STRING *ret = NULL; unsigned char ipout[32]; char *iptmp = NULL, *p; int iplen1, iplen2; p = strchr(ipasc, '/'); if (!p) return NULL; iptmp = OPENSSL_strdup(ipasc); if (!iptmp) return NULL; p = iptmp ...
215,786,586,898,133,700,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,802
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x) { GENERAL_NAMES *gens; STACK_OF(X509_EXTENSION) *exts; STACK_OF(OPENSSL_STRING) *ret; exts = X509_REQ_get_extensions(x); gens = X509V3_get_d2i(exts, NID_subject_alt_name, NULL, NULL); ret = get_email(X509_REQ_get_subject_name(x), gens);...
70,159,754,039,794,110,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,803
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static char *bignum_to_string(const BIGNUM *bn) { char *tmp, *ret; size_t len; /* * Display large numbers in hex and small numbers in decimal. Converting to * decimal takes quadratic time and is no more useful than hex for large * numbers. */ if (BN_num_bits(bn) < 128) retur...
339,469,886,081,272,400,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,804
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_NAME_from_section(X509_NAME *nm, STACK_OF(CONF_VALUE) *dn_sk, unsigned long chtype) { CONF_VALUE *v; int i, mval, spec_char, plus_char; char *p, *type; if (!nm) return 0; for (i = 0; i < sk_CONF_VALUE_num(dn_sk); i++) { v = sk_CONF_VALUE_value...
188,551,544,235,206,120,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,805
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509_check_email(X509 *x, const char *chk, size_t chklen, unsigned int flags) { if (chk == NULL) return -2; /* * Embedded NULs are disallowed, except as the last character of a * string of length 2 or more (tolerate caller including terminating * NUL in string len...
237,009,636,323,448,340,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,806
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int ipv6_from_asc(unsigned char *v6, const char *in) { IPV6_STAT v6stat; v6stat.total = 0; v6stat.zero_pos = -1; v6stat.zero_cnt = 0; /* * Treat the IPv6 representation as a list of values separated by ':'. * The presence of a '::' will parse as one, two or three zero length * ...
37,653,940,869,969,710,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,807
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int a2i_ipadd(unsigned char *ipout, const char *ipasc) { /* If string contains a ':' assume IPv6 */ if (strchr(ipasc, ':')) { if (!ipv6_from_asc(ipout, ipasc)) return 0; return 16; } else { if (!ipv4_from_asc(ipout, ipasc)) return 0; return 4; } }
250,614,160,738,301,100,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,808
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int append_ia5(STACK_OF(OPENSSL_STRING) **sk, const ASN1_IA5STRING *email) { char *emtmp; /* First some sanity checks */ if (email->type != V_ASN1_IA5STRING) return 1; if (email->data == NULL || email->length == 0) return 1; if (memchr(email->data, 0, email->length) != NULL) ...
22,421,527,675,965,504,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,809
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x) { GENERAL_NAMES *gens; STACK_OF(OPENSSL_STRING) *ret; gens = X509_get_ext_d2i(x, NID_subject_alt_name, NULL, NULL); ret = get_email(X509_get_subject_name(x), gens); sk_GENERAL_NAME_pop_free(gens, GENERAL_NAME_free); return ret; }
128,357,148,733,217,580,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,810
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint, STACK_OF(CONF_VALUE) **extlist) { char *strtmp; int ret; if (!aint) return 1; if ((strtmp = i2s_ASN1_INTEGER(NULL, aint)) == NULL) return 0; ret = X509V3_add_value(name, strtmp, extlist); ...
102,600,572,181,038,900,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,811
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
static int ipv4_from_asc(unsigned char *v4, const char *in) { int a0, a1, a2, a3; if (sscanf(in, "%d.%d.%d.%d", &a0, &a1, &a2, &a3) != 4) return 0; if ((a0 < 0) || (a0 > 255) || (a1 < 0) || (a1 > 255) || (a2 < 0) || (a2 > 255) || (a3 < 0) || (a3 > 255)) return 0; v4[0] = a0; ...
179,408,020,215,115,700,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,812
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509V3_add_value_bool_nf(const char *name, int asn1_bool, STACK_OF(CONF_VALUE) **extlist) { if (asn1_bool) return X509V3_add_value(name, "TRUE", extlist); return 1; }
174,956,695,330,593,140,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,813
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509_check_host(X509 *x, const char *chk, size_t chklen, unsigned int flags, char **peername) { if (chk == NULL) return -2; /* * Embedded NULs are disallowed, except as the last character of a * string of length 2 or more (tolerate caller including terminating * NU...
228,236,510,387,451,900,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712
507,814
openssl
bb4d2ed4091408404e18b3326e3df67848ef63d0
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/bb4d2ed4091408404e18b3326e3df67848ef63d0
Fix append_ia5 function to not assume NUL terminated strings ASN.1 strings may not be NUL terminated. Don't assume they are. CVE-2021-3712 Reviewed-by: Viktor Dukhovni <viktor@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org>
0
int X509_check_ip_asc(X509 *x, const char *ipasc, unsigned int flags) { unsigned char ipout[16]; size_t iplen; if (ipasc == NULL) return -2; iplen = (size_t)a2i_ipadd(ipout, ipasc); if (iplen == 0) return -2; return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL);...
228,524,288,530,653,970,000,000,000,000,000,000,000
None
null
[ "CWE-125" ]
CVE-2021-3712
ASN.1 strings are represented internally within OpenSSL as an ASN1_STRING structure which contains a buffer holding the string data and a field holding the buffer length. This contrasts with normal C strings which are repesented as a buffer for the string data which is terminated with a NUL (0) byte. Although not a str...
https://nvd.nist.gov/vuln/detail/CVE-2021-3712