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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
519,029 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | int GetNodeID(const char* buf, size_t size) {
if (size > 2 && buf[0] == 'p' && buf[1] == 's') {
int id = 0;
size_t i = 2;
for (; i < size; ++i) {
if (buf[i] >= '0' && buf[i] <= '9') {
id = id * 10 + buf[i] - '0';
} else {
break;
}
}
if (i =... | 132,693,884,019,771,930,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,030 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | virtual ~ZMQVan() { } | 313,297,226,167,764,750,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,031 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | int RecvMsg(Message* msg) override {
msg->data.clear();
size_t recv_bytes = 0;
for (int i = 0; ; ++i) {
zmq_msg_t* zmsg = new zmq_msg_t;
CHECK(zmq_msg_init(zmsg) == 0) << zmq_strerror(errno);
while (true) {
if (zmq_msg_recv(zmsg, receiver_, 0) != -1) break;
if (errno == E... | 251,616,962,135,407,300,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,032 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | void Stop() override {
PS_VLOG(1) << my_node_.ShortDebugString() << " is stopping";
Van::Stop();
// close sockets
int linger = 0;
int rc = zmq_setsockopt(receiver_, ZMQ_LINGER, &linger, sizeof(linger));
CHECK(rc == 0 || errno == ETERM);
CHECK_EQ(zmq_close(receiver_), 0);
for (auto& it ... | 279,093,856,204,790,800,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,033 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | inline void FreeData(void *data, void *hint) {
if (hint == NULL) {
delete [] static_cast<char*>(data);
} else {
delete static_cast<SArray<char>*>(hint);
}
} | 130,656,259,933,944,250,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,034 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | void Start() override {
// start zmq
context_ = zmq_ctx_new();
CHECK(context_ != NULL) << "create 0mq context failed";
zmq_ctx_set(context_, ZMQ_MAX_SOCKETS, 65536);
// zmq_ctx_set(context_, ZMQ_IO_THREADS, 4);
Van::Start();
} | 132,838,226,750,165,920,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,035 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | int Bind(const Node& node, int max_retry) override {
receiver_ = zmq_socket(context_, ZMQ_ROUTER);
CHECK(receiver_ != NULL)
<< "create receiver socket failed: " << zmq_strerror(errno);
int local = GetEnv("DMLC_LOCAL", 0);
std::string hostname = node.hostname.empty() ? "*" : node.hostname;
... | 287,329,875,877,248,700,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,036 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | int SendMsg(const Message& msg) override {
std::lock_guard<std::mutex> lk(mu_);
// find the socket
int id = msg.meta.recver;
CHECK_NE(id, Meta::kEmpty);
auto it = senders_.find(id);
if (it == senders_.end()) {
LOG(WARNING) << "there is no socket to node " << id;
return -1;
}
... | 172,315,727,725,078,260,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,037 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | ZMQVan() { } | 54,687,160,128,082,485,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,038 | ps-lite | 4be817e8b03e7e92517e91f2dfcc50865e91c6ea | https://github.com/dmlc/ps-lite | https://github.com/dmlc/ps-lite/commit/4be817e8b03e7e92517e91f2dfcc50865e91c6ea | Avoid listening on all interfaces by default | 0 | void Connect(const Node& node) override {
CHECK_NE(node.id, node.kEmpty);
CHECK_NE(node.port, node.kEmpty);
CHECK(node.hostname.size());
int id = node.id;
auto it = senders_.find(id);
if (it != senders_.end()) {
zmq_close(it->second);
}
// worker doesn't need to connect to the ot... | 286,295,701,876,942,220,000,000,000,000,000,000,000 | None | null | [
"CWE-200"
] | CVE-2018-1281 | The clustered setup of Apache MXNet allows users to specify which IP address and port the scheduler will listen on via the DMLC_PS_ROOT_URI and DMLC_PS_ROOT_PORT env variables. In versions older than 1.0.0, however, the MXNet framework will listen on 0.0.0.0 rather than user specified DMLC_PS_ROOT_URI once a scheduler ... | https://nvd.nist.gov/vuln/detail/CVE-2018-1281 |
519,039 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool loadBinaryModuleFromFile(const char* filename,
IR::Module& outModule,
Log::Category errorCategory = Log::error)
{
std::vector<U8> wasmBytes;
if(!loadFile(filename, wasmBytes)) { return false; }
return loadBinaryModule(wasmBytes.data(), wasmBytes.size(), outModule);
} | 31,060,331,605,226,560,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,040 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool loadFile(const char* filename, std::vector<U8>& outFileContents)
{
Platform::File* file = Platform::openFile(
filename, Platform::FileAccessMode::readOnly, Platform::FileCreateMode::openExisting);
if(!file)
{
Log::printf(Log::error, "Couldn't read %s: couldn't open file.\n", filename);
return false... | 221,737,043,326,297,530,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,041 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool loadBinaryModule(const void* wasmBytes,
Uptr numBytes,
IR::Module& outModule,
Log::Category errorCategory = Log::error)
{
// Load the module from a binary WebAssembly file.
try
{
Timing::Timer loadTimer;
Serialization::MemoryInputStream stream((const U8*)wasmBytes, numBytes);... | 177,099,106,381,710,680,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,042 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool loadTextModuleFromFile(const char* filename, IR::Module& outModule)
{
std::vector<U8> wastBytes;
if(!loadFile(filename, wastBytes)) { return false; }
// Make sure the WAST is null terminated.
wastBytes.push_back(0);
std::vector<WAST::Error> parseErrors;
if(WAST::parseModule((const char*)wastBytes.da... | 151,501,690,977,759,120,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,043 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline void reportParseErrors(const char* filename, const std::vector<WAST::Error>& parseErrors)
{
// Print any parse errors.
for(auto& error : parseErrors)
{
Log::printf(Log::error,
"%s:%s: %s\n%s\n%*s\n",
filename,
error.locus.describe().c_str(),
error.message.c_str(),
error.locus.source... | 64,252,578,471,293,600,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,044 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool loadModule(const char* filename, IR::Module& outModule)
{
// Read the specified file into an array.
std::vector<U8> fileBytes;
if(!loadFile(filename, fileBytes)) { return false; }
// If the file starts with the WASM binary magic number, load it as a binary irModule.
if(fileBytes.size() >= 4 && *(U32*)... | 226,446,143,927,897,680,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,045 | WAVM | 2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/2de6cf70c5ef31e22ed119a25ac2daeefd3d18a1 | Fix out-of-bounds array access when passing a <4 byte input file to wavm or wavm-compile | 0 | inline bool saveFile(const char* filename, const void* fileBytes, Uptr numFileBytes)
{
Platform::File* file = Platform::openFile(
filename, Platform::FileAccessMode::writeOnly, Platform::FileCreateMode::createAlways);
if(!file)
{
Log::printf(Log::error, "Couldn't write %s: couldn't open file.\n", filename);
re... | 87,006,685,793,062,240,000,000,000,000,000,000,000 | None | null | [
"CWE-125"
] | CVE-2018-17292 | An issue was discovered in WAVM before 2018-09-16. The loadModule function in Include/Inline/CLI.h lacks checking of the file length before a file magic comparison, allowing attackers to cause a Denial of Service (application crash caused by out-of-bounds read) by crafting a file that has fewer than 4 bytes. | https://nvd.nist.gov/vuln/detail/CVE-2018-17292 |
519,046 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | Object* getStubObject(const std::string& exportName, ObjectType type) const
{
// If the import couldn't be resolved, stub it in.
switch(type.kind)
{
case IR::ObjectKind::function:
{
// Generate a function body that just uses the unreachable op to fault if called.
Serialization::ArrayOutputStream codeS... | 33,510,631,508,828,965,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,047 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | RootResolver(Compartment* inCompartment) : compartment(inCompartment) {} | 168,052,223,554,875,700,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,048 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | bool resolve(const std::string& moduleName,
const std::string& exportName,
ObjectType type,
Object*& outObject) override
{
auto namedInstance = moduleNameToInstanceMap.get(moduleName);
if(namedInstance)
{
outObject = getInstanceExport(*namedInstance, exportName);
if(outObject)
{
if(i... | 272,368,538,865,759,300,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,049 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | int main(int argc, char** argv)
{
CommandLineOptions options;
options.args = argv;
while(*++options.args)
{
if(!strcmp(*options.args, "--function") || !strcmp(*options.args, "-f"))
{
if(!*++options.args)
{
showHelp();
return EXIT_FAILURE;
}
options.functionName = *options.args;
}
else if... | 141,082,855,812,458,320,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,050 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | static int run(const CommandLineOptions& options)
{
IR::Module irModule;
// Load the module.
if(!loadModule(options.filename, irModule)) { return EXIT_FAILURE; }
if(options.onlyCheck) { return EXIT_SUCCESS; }
// Compile the module.
Runtime::Module* module = nullptr;
if(!options.precompiled) { module = Runtime:... | 71,582,623,173,496,280,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,051 | WAVM | 31d670b6489e6d708c3b04b911cdf14ac43d846d | https://github.com/WAVM/WAVM | https://github.com/WAVM/WAVM/commit/31d670b6489e6d708c3b04b911cdf14ac43d846d | Fix dereferencing null pointer when running wavm with WebAssembly main function that takes command-line arguments but no Emscripten memory to write them to | 0 | static void showHelp()
{
Log::printf(Log::error,
"Usage: wavm [switches] [programfile] [--] [arguments]\n"
" in.wast|in.wasm Specify program file (.wast/.wasm)\n"
" -c|--check Exit after checking that the program is valid\n"
" -d|--debug Write additional debug information... | 334,029,275,326,241,400,000,000,000,000,000,000,000 | None | null | [
"CWE-476"
] | CVE-2018-17293 | An issue was discovered in WAVM before 2018-09-16. The run function in Programs/wavm/wavm.cpp does not check whether there is Emscripten memory to store the command-line arguments passed by the input WebAssembly file's main function, which allows attackers to cause a denial of service (application crash by NULL pointer... | https://nvd.nist.gov/vuln/detail/CVE-2018-17293 |
519,114 | abuild | 4f90ce92778d0ee302e288def75591b96a397c8b | https://github.com/sroracle/abuild | https://github.com/sroracle/abuild/commit/4f90ce92778d0ee302e288def75591b96a397c8b | abuild-sudo: don't allow --keys-dir
Not allowing --allow-untrusted is obviously a good idea, but it can be
trivially bypassed if --keys-dir is allowed:
$ abuild-apk add foo-1-r0.apk
ERROR: foo-1-r0.apk: UNTRUSTED signature
$ abuild-apk --allow-untrusted add foo-1-r0.apk
abuild-apk: --allow-untrusted: not allowed opti... | 0 | int is_in_group(gid_t group)
{
int ngroups_max = sysconf(_SC_NGROUPS_MAX) + 1;
gid_t *buf = malloc(ngroups_max * sizeof(gid_t));
int ngroups;
int i;
if (buf == NULL) {
perror("malloc");
return 0;
}
ngroups = getgroups(ngroups_max, buf);
for (i = 0; i < ngroups; i++) {
if (buf[i] == group)
break;
}
fr... | 278,040,421,044,691,400,000,000,000,000,000,000,000 | None | null | [
"CWE-264"
] | CVE-2019-12875 | Alpine Linux abuild through 3.4.0 allows an unprivileged member of the abuild group to add an untrusted package via a --keys-dir option that causes acceptance of an untrusted signing key. | https://nvd.nist.gov/vuln/detail/CVE-2019-12875 |
519,115 | abuild | 4f90ce92778d0ee302e288def75591b96a397c8b | https://github.com/sroracle/abuild | https://github.com/sroracle/abuild/commit/4f90ce92778d0ee302e288def75591b96a397c8b | abuild-sudo: don't allow --keys-dir
Not allowing --allow-untrusted is obviously a good idea, but it can be
trivially bypassed if --keys-dir is allowed:
$ abuild-apk add foo-1-r0.apk
ERROR: foo-1-r0.apk: UNTRUSTED signature
$ abuild-apk --allow-untrusted add foo-1-r0.apk
abuild-apk: --allow-untrusted: not allowed opti... | 0 | int main(int argc, const char *argv[])
{
struct group *grent;
const char *cmd;
const char *path;
int i;
struct passwd *pw;
grent = getgrnam(ABUILD_GROUP);
if (grent == NULL)
errx(1, "%s: Group not found", ABUILD_GROUP);
char *name = NULL;
pw = getpwuid(getuid());
if (pw)
name = pw->pw_name;
if (!is_in... | 293,885,072,328,865,660,000,000,000,000,000,000,000 | None | null | [
"CWE-264"
] | CVE-2019-12875 | Alpine Linux abuild through 3.4.0 allows an unprivileged member of the abuild group to add an untrusted package via a --keys-dir option that causes acceptance of an untrusted signing key. | https://nvd.nist.gov/vuln/detail/CVE-2019-12875 |
519,116 | abuild | 4f90ce92778d0ee302e288def75591b96a397c8b | https://github.com/sroracle/abuild | https://github.com/sroracle/abuild/commit/4f90ce92778d0ee302e288def75591b96a397c8b | abuild-sudo: don't allow --keys-dir
Not allowing --allow-untrusted is obviously a good idea, but it can be
trivially bypassed if --keys-dir is allowed:
$ abuild-apk add foo-1-r0.apk
ERROR: foo-1-r0.apk: UNTRUSTED signature
$ abuild-apk --allow-untrusted add foo-1-r0.apk
abuild-apk: --allow-untrusted: not allowed opti... | 0 | void check_option(const char *opt)
{
int i;
for (i = 0; invalid_opts[i] != NULL; i++)
if (strcmp(opt, invalid_opts[i]) == 0)
errx(1, "%s: not allowed option", opt);
} | 246,985,389,688,710,970,000,000,000,000,000,000,000 | None | null | [
"CWE-264"
] | CVE-2019-12875 | Alpine Linux abuild through 3.4.0 allows an unprivileged member of the abuild group to add an untrusted package via a --keys-dir option that causes acceptance of an untrusted signing key. | https://nvd.nist.gov/vuln/detail/CVE-2019-12875 |
519,117 | abuild | 4f90ce92778d0ee302e288def75591b96a397c8b | https://github.com/sroracle/abuild | https://github.com/sroracle/abuild/commit/4f90ce92778d0ee302e288def75591b96a397c8b | abuild-sudo: don't allow --keys-dir
Not allowing --allow-untrusted is obviously a good idea, but it can be
trivially bypassed if --keys-dir is allowed:
$ abuild-apk add foo-1-r0.apk
ERROR: foo-1-r0.apk: UNTRUSTED signature
$ abuild-apk --allow-untrusted add foo-1-r0.apk
abuild-apk: --allow-untrusted: not allowed opti... | 0 | const char *get_command_path(const char *cmd)
{
const char *p;
int i;
for (i = 0; valid_cmds[i] != NULL; i++) {
if (access(valid_cmds[i], F_OK) == -1)
continue;
p = strrchr(valid_cmds[i], '/') + 1;
if (strcmp(p, cmd) == 0)
return valid_cmds[i];
}
return NULL;
} | 67,973,706,276,563,360,000,000,000,000,000,000,000 | None | null | [
"CWE-264"
] | CVE-2019-12875 | Alpine Linux abuild through 3.4.0 allows an unprivileged member of the abuild group to add an untrusted package via a --keys-dir option that causes acceptance of an untrusted signing key. | https://nvd.nist.gov/vuln/detail/CVE-2019-12875 |
519,182 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int elog_connect(char *host, int port) {
int status, sock;
struct hostent *phe;
struct sockaddr_in bind_addr;
/* create socket */
if ((sock = socket(AF_INET, SOCK_STREAM, 0)) == -1) {
perror("cannot create socket");
return -1;
}
/* compose remote address */
memset(&bind_addr, 0, si... | 335,759,159,693,225,260,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,183 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | char *find_param(char *buf, char *group, char *param) {
char *str, *p, *pstr, *pstart;
/* search group */
str = xmalloc(10000);
p = buf;
do {
if (*p == '[') {
p++;
pstr = str;
while (*p && *p != ']' && *p != '\n')
*pstr++ = *p++;
*pstr = 0;
... | 73,126,302,954,133,650,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,184 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void check_config_file(BOOL force) {
struct stat cfg_stat;
if (force) {
parse_config_file(config_file);
return;
}
/* force re-read configuration file if changed */
if (stat(config_file, &cfg_stat) == 0) {
if (cfgfile_mtime < cfg_stat.st_mtime) {
cfgfile_mtime = cfg_stat.st_mt... | 253,443,163,717,796,730,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,185 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int getcfg_simple(char *group, char *param, char *value, int vsize, int conditional) {
int i, j, status;
char uparam[256];
if (strlen(param) >= sizeof(uparam))
return 0;
for (i = 0; i < (int) strlen(param); i++)
uparam[i] = toupper(param[i]);
uparam[i] = 0;
value[0] = 0;
for (i = 0; ... | 116,123,753,336,515,380,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,186 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int execute_shell(LOGBOOK *lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH],
char att_file[MAX_ATTACHMENTS][256], char *sh_cmd) {
int i;
char slist[MAX_N_ATTR + 10][NAME_LENGTH], svalue[MAX_N_ATTR + 10][NAME_LENGTH];
char shell_cmd[10000], tail[1000], str[NAME_LENGTH], *p, subdir[256... | 35,883,069,117,901,600,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,187 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_error(char *error) {
char str[256];
/* header */
rsprintf("HTTP/1.1 404 Not Found\r\n");
rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision());
if (getcfg("global", "charset", str, sizeof(str)))
rsprintf("Content-Type: text/html;charset=%s\r\n", str);
else
rsprintf("C... | 46,688,201,755,054,490,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,188 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void strencode(char *text) {
int i;
for (i = 0; i < (int) strlen(text); i++) {
switch (text[i]) {
case '\n':
rsprintf("<br>\n");
break;
case '<':
rsprintf("<");
break;
case '>':
rsprintf(">");
break;
... | 172,228,032,069,995,160,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,189 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int create_logbook(LOGBOOK *oldlbs, char *logbook, char *templ) {
int fh, i, length, bufsize, templ_length;
char *buf, *p1, *p2, str[256];
fh = open(config_file, O_RDWR | O_BINARY, 644);
if (fh < 0) {
sprintf(str, loc("Cannot open file <b>%s</b>"), config_file);
strcat(str, ": ");
strcat(... | 238,133,884,526,100,970,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,190 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void fputs_stderr(const char *buf) {
fputs(buf, stderr);
} | 139,589,537,454,884,000,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,191 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int enumgrp(int index, char *group) {
if (index < n_lb_config) {
strcpy(group, lb_config[index].section_name);
return 1;
}
return 0;
} | 289,271,302,913,642,700,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,192 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int ascii_compare(const void *s1, const void *s2) {
return stricmp(*(char **) s1, *(char **) s2);
} | 130,848,493,185,677,200,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,193 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void eflush(void) {
/* Do this only for non-NULL streams (uninitiated stream or a syslog) */
if (current_output_stream != NULL)
fflush(current_output_stream);
} | 21,766,811,827,912,250,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,194 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | BOOL is_user_allowed(LOGBOOK *lbs, char *command) {
char str[1000], users[2000];
char list[MAX_N_LIST][NAME_LENGTH];
int i, n;
/* check for user level access */
if (!getcfg(lbs->name, "Password file", str, sizeof(str)))
return TRUE;
/* check for deny */
sprintf(str, "Deny %s", command);
... | 129,272,150,397,102,170,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,195 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void extract_path(char *str) {
char *p, str2[256];
p = NULL;
if (strstr(str, "http://"))
p = str + 7;
if (strstr(str, "https://"))
p = str + 8;
if (p) {
while (*p && *p != '/')
p++;
if (*p == '/')
p++;
strcpy(str2, p);
strcpy(str, str2);
if ... | 220,659,685,474,372,500,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,196 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void setcfg_topgroup(char *topgroup) {
strcpy(_topgroup, topgroup);
} | 204,806,368,774,551,260,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,197 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int line_break(char *str, char *encoding) {
if (strieq(encoding, "plain") || strieq(encoding, "ELCode")) {
return str[0] == '\n';
}
// HTML encoding
if (strncmp(str, "</p>", 4) == 0 || strncmp(str, "<br>", 4) == 0 || strncmp(str, "<br />", 6) == 0)
return 1;
return 0;
} | 321,496,990,372,488,700,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,198 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int setegroup(char *str) {
#ifdef OS_UNIX
struct group *gr;
gr = getgrnam(str);
if (gr != NULL) {
chown(logbook_dir, -1, gr->gr_gid);
if (setregid(-1, gr->gr_gid) >= 0 && initgroups(gr->gr_name, gr->gr_gid) >= 0)
return 0;
else {
eprintf("Cannot set effective GID to group ... | 170,054,266,203,283,930,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,199 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void *xmalloc(size_t bytes) {
char *temp;
/* Align buffer on 4 byte boundery for HP UX and other 64 bit systems to prevent Bus error (core dump) */
if (bytes & 3)
bytes += 4 - (bytes & 3);
temp = (char *) malloc(bytes + 12);
if (temp == 0)
memory_error_and_abort("xmalloc");
/* put magic... | 338,089,440,877,770,850,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,200 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int parse_config_file(char *file_name)
/* parse whole config file and store options in sorted list */
{
char *str, *buffer, *p, *pstr;
int index, i, j, fh, length;
str = xmalloc(20000);
/* open configuration file */
fh = open(file_name, O_RDONLY | O_BINARY);
if (fh < 0)
return 0;
length = l... | 92,747,051,650,929,700,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,201 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int el_correct_links(LOGBOOK *lbs, int old_id, int new_id)
/* If a message gets resubmitted, the links to that message are wrong.
This routine corrects that. */
{
int i, i1, n, n1, size;
char date[80], *attrib, *text, in_reply_to[80], reply_to[MAX_REPLY_TO * 10], encoding[80],
locked_by[256], draft[25... | 169,327,987,387,183,300,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,202 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int is_script(char *s) {
char *str;
int i;
str = xstrdup(s);
for (i = 0; i < (int) strlen(s); i++)
str[i] = tolower(s[i]);
str[i] = 0;
for (i = 0; script_tags[i] != NULL; i++) {
if (strstr(str, script_tags[i])) {
xfree(str);
return TRUE;
}
}
xfree(str);
... | 261,595,507,829,682,130,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,203 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int retrieve_url(LOGBOOK *lbs, const char *url, int ssl, char **buffer, BOOL send_unm) {
char str[1000], unm[256], upwd[256], host[256], subdir[256], param[256];
int port, bufsize;
int i, n;
fd_set readfds;
struct timeval timeout;
UNUSED(ssl);
#ifdef HAVE_SSL
SSL *ssl_con = NULL;
#else
void *s... | 166,016,214,437,813,240,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,204 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_standard_title(LOGBOOK *lbs, char *text, int printable) {
char str[NAME_LENGTH], ref[256], sclass[32], comment[256], full_name[256], url[256], logbook[256];
int i, j, level;
LBLIST phier, pnode, pnext, flb;
char slist[20][NAME_LENGTH], svalue[20][NAME_LENGTH];
if (lbs == NULL)
strlcpy(lo... | 303,650,900,302,356,360,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,205 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void combine_url(LOGBOOK *lbs, char *url, char *param, char *result, int size, int *ssl) {
if (ssl)
*ssl = 0;
if (strstr(url, "http://"))
strlcpy(result, url + 7, size);
else if (strstr(url, "https://")) {
if (ssl)
*ssl = 1;
strlcpy(result, url + 8, size);
} else
strlc... | 143,703,099,232,610,830,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,206 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int is_draft(LOGBOOK *lbs, int message_id) {
char draft[256];
el_retrieve(lbs, message_id, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL,
NULL, NULL, draft);
return draft[0];
} | 190,565,076,095,788,530,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,207 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void rsputs_elcode(LOGBOOK *lbs, BOOL email_notify, const char *str) {
int i, j, k, l, m, elcode_disabled, elcode_disabled1, ordered_list, substituted, inside_table,
smileys_enabled;
char *p, *pd, link[1000], link_text[1000], tmp[1000], attrib[1000], hattrib[1000], value[1000],
subst[1000], ... | 191,835,892,552,581,070,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,208 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | LBLIST get_logbook_hierarchy(void) {
int i, j, n, m, flag;
char str[1000], grpname[256], grpmembers[1000];
LBLIST root, *pgrp;
char grplist[MAX_N_LIST][NAME_LENGTH];
/* allocate root node */
root = xmalloc(sizeof(LBNODE));
memset(root, 0, sizeof(LBNODE));
/* enumerate groups */
for (i = n =... | 82,454,923,364,044,300,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,209 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | BOOL convert_password_file(char *file_name) {
char name[256], password[256], full_name[256], email[256], email_notify[256];
int i, len, fh, status;
char *buf, *p;
PMXML_NODE root, list, node, npwd;
printf("Converting password file \"%s\" to new XML format ... ", file_name);
fh = open(file_name, O_RD... | 39,466,813,471,120,485,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,210 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int msg_compare_numeric(const void *m1, const void *m2) {
return ((MSG_LIST *) m1)->number - ((MSG_LIST *) m2)->number;
} | 252,234,859,831,527,300,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,211 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_bottom_text(LOGBOOK *lbs) {
char str[NAME_LENGTH], slist[20][NAME_LENGTH], svalue[20][NAME_LENGTH];
int i, size;
if (lbs == NULL)
return;
if (getcfg(lbs->name, "bottom text", str, sizeof(str))) {
FILE *f;
char file_name[256], *buf;
if (str[0]) {
/* check if file ... | 299,087,261,046,919,900,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,212 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int download_config() {
char error_str[256];
int size, delta;
char message[TEXT_SIZE + 1000], *buffer;
/* return complete config file */
load_config_section(NULL, &buffer, error_str);
if (error_str[0]) {
rsprintf("Error loading configuration file: %s", error_str);
return EL_FILE_ERROR;
... | 116,191,353,204,227,140,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,213 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_import_page_csv(LOGBOOK *lbs) {
char str[256], str2[256];
/*---- header ----*/
show_html_header(lbs, FALSE, loc("ELOG CSV import"), TRUE, FALSE, NULL, FALSE, 0);
rsprintf("<body><form method=\"POST\" action=\"./\" enctype=\"multipart/form-data\">\n");
/*---- title ----*/
show_standard_t... | 265,668,050,054,048,230,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,214 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | long my_timezone() {
#if defined(OS_MACOSX) || defined(__FreeBSD__) || defined(__OpenBSD__)
time_t tp;
time(&tp);
return -localtime(&tp)->tm_gmtoff;
#elif defined(OS_WINNT)
return _timezone;
#else
return timezone;
#endif
} | 115,780,014,011,331,740,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,215 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | BOOL enumparam(int n, char *param, char *value) {
param[0] = value[0] = 0;
if (n >= MAX_PARAM)
return FALSE;
if (_param[n][0] == 0)
return FALSE;
strcpy(param, _param[n]);
strcpy(value, _value[n]);
return TRUE;
} | 158,654,983,404,712,020,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,216 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void retrieve_domain(char *ret, int size) {
char smtp_host[80];
strlcpy(ret, "tmp.org", size);
if (getcfg("global", "SMTP host", smtp_host, sizeof(smtp_host))) {
if (strchr(smtp_host, '.'))
strlcpy(ret, strchr(smtp_host, '.') + 1, size);
}
} | 86,412,490,438,517,440,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,217 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void add_subst_time(LOGBOOK *lbs, char list[][NAME_LENGTH], char value[][NAME_LENGTH], char *item,
char *date, int *i, int flags) {
char format[80], str[256];
time_t ltime;
struct tm *pts;
if (flags & (AF_DATE | AF_DATETIME)) {
ltime = date_to_ltime(date);
sprintf(str, "%d",... | 142,702,154,224,955,230,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,218 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void url_decode(char *p)
/********************************************************************\
Decode the given string in-place by expanding %XX escapes
\********************************************************************/
{
char *pD, str[3];
int i;
pD = p;
while (*p) {
if (*p == '%') {
/... | 314,467,187,122,374,120,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,219 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_upgrade_page(LOGBOOK *lbs) {
char str[1000];
show_html_header(lbs, FALSE, "ELOG Upgrade Information", TRUE, FALSE, NULL, FALSE, 0);
rsprintf("<body>\n");
rsprintf("<table class=\"frame\" cellpadding=\"0\" cellspacing=\"0\">\n\n");
rsprintf("<tr><td class=\"title2\">ELog Electronic Logbook U... | 53,735,907,543,925,920,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,220 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int restructure_dir(char *dir) {
char *file_list;
int n1, n2, index, status;
char old_path[MAX_PATH_LENGTH], new_path[MAX_PATH_LENGTH],
subdir[MAX_PATH_LENGTH];
static int first = TRUE;
/* go through all entry files */
n1 = ss_file_find(dir, "??????a.log", &file_list);
for (index = 0; i... | 100,140,885,592,005,000,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,221 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_logbook_new(LOGBOOK *lbs) {
char str[256], lbn[256];
int i;
if (isparam("lbname")) {
/* check if logbook name exists already */
strcpy(lbn, getparam("lbname"));
for (i = 0; lb_list[i].name[0]; i++)
if (strieq(lbn, lb_list[i].name)) {
sprintf(str, loc("Logbook ... | 47,746,620,604,205,930,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,222 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void convert_elog_link(LOGBOOK *lbs, char *link, char *link_text, char *result, int absolute_link,
int message_id) {
char str[256], base_url[256];
int i;
strlcpy(str, link, sizeof(str));
if (strchr(str, '/'))
*strchr(str, '/') = 0;
for (i = 0; i < (int) strlen(str); i++)
... | 220,596,966,532,731,600,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,223 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int is_full_html(char *file_name) {
char *str, *p;
int i, fh, length;
unsigned char *buf;
fh = open(file_name, O_RDONLY | O_BINARY);
if (fh < 0)
return FALSE;
lseek(fh, 0, SEEK_END);
length = TELL(fh);
lseek(fh, 0, SEEK_SET);
if (length > 1000)
length = 1000;
buf = xmalloc(len... | 68,860,795,178,387,080,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,224 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void _MD5_decode(unsigned int *pout, unsigned char *pin, unsigned int len) {
unsigned int i, j;
for (i = 0, j = 0; j < len; i++, j += 4)
pout[i] = ((unsigned int) pin[j]) | (((unsigned int) pin[j + 1]) << 8) | (((unsigned int) pin[j + 2])
<< 16) | (((unsigned int)
pin[j + 3]) <<... | 52,468,122,878,803,360,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,225 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | char *getcfg_topgroup() {
if (_topgroup[0])
return _topgroup;
return NULL;
} | 179,070,704,619,985,670,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,226 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_edit_form(LOGBOOK *lbs, int message_id, BOOL breply, BOOL bedit, BOOL bupload, BOOL breedit,
BOOL bduplicate, BOOL bpreview) {
int i, j, n, index, aindex, size, width, height, fh, length, input_size, input_maxlen,
format_flags[MAX_N_ATTR], year, month, day, hour, min, sec, n_... | 293,843,806,963,870,100,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,227 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void receive_pwdfile(LOGBOOK *lbs, char *server, char *error_str) {
char str[256], url[256], pwd[256], *buffer, *buf, *p;
int i, status, version, fh, ssl;
error_str[0] = 0;
do {
combine_url(lbs, server, "", url, sizeof(url), &ssl);
strlcpy(str, url, sizeof(str));
strcat(str, "?cmd=GetPw... | 310,603,149,612,846,900,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,228 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int msg_compare(const void *m1, const void *m2) {
return strcoll(((MSG_LIST *) m1)->string, ((MSG_LIST *) m2)->string);
} | 191,071,068,202,924,000,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,229 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void set_sid_cookie(LOGBOOK *lbs, char *sid, char *full_name) {
char str[256], lb_name[256], exp[80];
BOOL global;
rsprintf("HTTP/1.1 302 Found\r\n");
rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision());
if (keep_alive) {
rsprintf("Connection: Keep-Alive\r\n");
rsprintf("Keep-Al... | 66,531,418,568,834,870,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,230 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void xmlencode(char *text) {
int i;
for (i = 0; i < (int) strlen(text); i++) {
switch (text[i]) {
case '<':
rsprintf("<");
break;
case '>':
rsprintf(">");
break;
case '&':
rsprintf("&");
break;
... | 293,634,482,215,009,820,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,231 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | BOOL logged_in(LOGBOOK *lbs) {
if (isparam("unm")) {
if (check_login_user(lbs, getparam("unm")) && check_login(lbs, getparam("sid")))
return TRUE;
}
return FALSE;
} | 14,790,069,995,968,693,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,232 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_elog_entry(LOGBOOK *lbs, char *dec_path, char *command) {
int size, i, j, k, n, n_log, status, fh, length, message_error, index, n_hidden, message_id,
orig_message_id, format_flags[MAX_N_ATTR], att_hide[MAX_ATTACHMENTS], att_inline[MAX_ATTACHMENTS],
n_attachments, n_lines, n_disp_attr... | 340,279,046,192,875,900,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,233 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int el_lock_message(LOGBOOK *lbs, int message_id, char *user, BOOL lock)
/* lock message for editing */
{
int size;
char date[80], attrib[MAX_N_ATTR][NAME_LENGTH], text[TEXT_SIZE], in_reply_to[80],
reply_to[MAX_REPLY_TO * 10], encoding[80], locked_by[256], draft[256];
char att_file[MAX_ATTACHMENTS][... | 256,645,836,731,166,800,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,234 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void strip_html(char *s) {
char *p;
while ((p = strchr(s, '<')) != NULL) {
if (strchr(p, '>'))
memmove(p, strchr(p, '>') + 1, strlen(strchr(p, '>') + 1) + 1);
else
*p = 0;
}
} | 81,033,054,733,687,060,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,235 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void format_email_attachments(LOGBOOK *lbs, int message_id, int attachment_type,
char att_file[MAX_ATTACHMENTS][256], char *mail_text, int size,
char *multipart_boundary, int content_id) {
int i, index, n_att, fh, n, is_inline, length;
char str[256], fil... | 177,876,659,173,475,050,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,236 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void synchronize(LOGBOOK *lbs, int mode) {
int i;
char str[256], pwd[256];
if (mode == SYNC_HTML) {
show_html_header(NULL, FALSE, loc("Synchronization"), TRUE, FALSE, NULL, FALSE, 0);
rsprintf("<body>\n");
}
if (lbs == NULL) {
for (i = 0; lb_list[i].name[0]; i++)
if (getcfg(l... | 185,908,076,457,896,960,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,237 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int ss_daemon_init() {
#ifdef OS_UNIX
/* only implemented for UNIX */
int i, fd, pid;
if ((pid = fork()) < 0)
return FAILURE;
else if (pid != 0)
_exit(EXIT_SUCCESS); /* parent finished, exit without atexit hook */
/* child continues here */
/* try and use up stdin, stdout and stde... | 64,016,512,843,355,760,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,238 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_bottom_text_login(LOGBOOK *lbs) {
char str[NAME_LENGTH], slist[20][NAME_LENGTH], svalue[20][NAME_LENGTH];
int i, size;
if (getcfg(lbs->name, "bottom text login", str, sizeof(str))) {
FILE *f;
char file_name[256], *buf;
if (str[0]) {
/* check if file starts with an absolut... | 204,922,834,348,077,400,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,239 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | LBLIST *get_subgroup(LBLIST pgrp, char *logbook)
/* retrieve parent of group member "logbook" (which might be group by itself) */
{
int i;
for (i = 0; i < pgrp->n_members; i++) {
/* check if logbook is current member */
if (strieq(logbook, pgrp->member[i]->name))
return &(pgrp->member[i]);
... | 82,244,400,648,265,180,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,240 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_elog_thread(LOGBOOK *lbs, int message_id, int absolute_links, int highlight_mid) {
int size, head_id, n_display, n_attr_disp;
char date[80], attrib[MAX_N_ATTR][NAME_LENGTH], *text, in_reply_to[80], reply_to[MAX_REPLY_TO * 10],
attachment[MAX_ATTACHMENTS][MAX_PATH_LENGTH], encoding[80], locked... | 217,938,405,408,982,760,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,241 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void compare_attributes(LOGBOOK *lbs, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH], int *n) {
int status, i, n_reply;
char reply_to[MAX_REPLY_TO * 10], *attr, *list;
attr = xmalloc(MAX_N_ATTR * NAME_LENGTH);
assert(attr);
status = el_retrieve(lbs, message_id, NULL, attr_list, (char (*)[NAME_LENG... | 326,996,985,615,998,240,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,242 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void split_url(const char *url, char *host, int *port, char *subdir, char *param) {
const char *p;
char str[256];
if (host)
host[0] = 0;
if (port)
*port = 80;
if (subdir)
subdir[0] = 0;
if (param)
param[0] = 0;
p = url;
if (strncmp(url, "http://", 7) == 0)
p += 7;... | 232,438,063,608,971,840,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,243 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void el_decode_intlist(char *message, char *key, char *result, int size) {
int i;
if (result == NULL)
return;
*result = 0;
el_decode(message, key, result, size);
/* remove any non allowed characters */
for (i = 0; i < size && i < (int) strlen(result); i++)
if (!isdigit(result[i]) && res... | 242,981,724,522,648,800,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,244 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int is_group(char *group) {
int i;
for (i = 0; i < n_lb_config; i++)
if (strieq(group, lb_config[i].section_name))
return 1;
return 0;
} | 44,362,266,272,855,255,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,245 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void rsicon(char *name, char *comment, char *elcode) {
rsprintf("<img align=\"middle\" name=\"%s\" src=\"icons/elc_%s.png\" alt=\"%s\" title=\"%s\" border=\"0\"",
name, name, comment, comment);
rsprintf(" onclick=\"elcode(document.form1.Text, '','%s')\"", elcode);
rsprintf(" onmousedown=\"document.... | 2,421,190,583,288,971,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,246 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int show_md5_page(LOGBOOK *lbs) {
int i, j;
char *buffer, error_str[256];
unsigned char digest[16];
/* header */
rsprintf("HTTP/1.1 200 Document follows\r\n");
rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision());
rsprintf("Accept-Ranges: bytes\r\n");
rsprintf("Connection: close\r\n... | 252,995,407,428,019,530,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,247 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_page_navigation(LOGBOOK *lbs, int n_msg, int page_n, int n_page) {
int i, num_pages, skip, max_n_msg;
char ref[256], str[256];
if (!page_n || n_msg <= n_page)
return;
rsprintf("<tr><td class=\"menuframe\"><span class=\"menu3\">\n");
rsprintf("%s \n", loc("Goto page"));
if (page_n >... | 59,308,061,535,925,850,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,248 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void display_line(LOGBOOK *lbs, int message_id, int number, char *mode, int expand, int level,
BOOL printable, int n_line, int show_attachments, int show_att_column,
char *date, char *in_reply_to, char *reply_to, int n_attr_disp,
char disp_attr[MAX_N_ATTR + 4][NAME_... | 197,839,419,700,558,260,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,249 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | BOOL is_command_allowed(LOGBOOK *lbs, char *command, int message_id) {
char str[1000], menu_str[1000], other_str[1000];
char menu_item[MAX_N_LIST][NAME_LENGTH];
int i, n;
if (command[0] == 0)
return TRUE;
/* check for guest access */
if (!getcfg(lbs->name, "Guest Menu commands", menu_str, size... | 81,750,717,708,435,620,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,250 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int getcfg(char *group, char *param, char *value, int vsize)
/*
Read parameter from configuration file.
- if group == [global] and top group exists, read
from [global <top group>]
- if parameter not in [global <top group>], read from [global]
- if group is logbook, read from logbook section
- if parameter not... | 3,042,943,081,985,272,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,251 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int xvasprintf(char **ptr, const char *format, va_list ap) {
int n;
va_list save;
#ifdef va_copy
va_copy(save, ap);
#else
#ifdef __va_copy
__va_copy(save, ap);
#else
save = ap;
#end... | 328,858,996,587,678,400,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,252 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int save_config(char *buffer, char *error) {
int fh, i;
char *buf;
error[0] = 0;
fh = open(config_file, O_RDWR | O_BINARY | O_CREAT, 0644);
if (fh < 0) {
sprintf(error, loc("Cannot open file <b>%s</b>"), config_file);
strcat(error, ": ");
strcat(error, strerror(errno));
return 0... | 294,374,590,230,378,900,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,253 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | int delete_logbook(LOGBOOK *lbs, char *error) {
int fh, i, length;
char *buf, *p1, *p2;
error[0] = 0;
fh = open(config_file, O_RDWR | O_BINARY, 644);
if (fh < 0) {
sprintf(error, loc("Cannot open file <b>%s</b>"), config_file);
strcat(error, ": ");
strcat(error, strerror(errno));
... | 258,610,379,273,256,100,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
519,254 | elog | 993bed4923c88593cc6b1186e0d1b9564994a25a | https://bitbucket.org/ritt/elog | https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a | Serve SVG files as attachments only to avoid XSS vulnerabilities | 0 | void show_elog_delete(LOGBOOK *lbs, int message_id) {
int i, status, reply = 0, next, nsel;
char str[256], str2[256], in_reply_to[80], reply_to[MAX_REPLY_TO * 10], owner[256];
char attrib[MAX_N_ATTR][NAME_LENGTH], mode[80];
/* check for editing interval */
if (isparam("nsel")) {
for (i = 0; i < at... | 61,386,167,632,789,560,000,000,000,000,000,000,000 | None | null | [
"CWE-79"
] | CVE-2019-20376 | A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c. | https://nvd.nist.gov/vuln/detail/CVE-2019-20376 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.