Giter Club home page Giter Club logo

mustakimur / cfi-lb Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 7.0 130.09 MB

Adaptive Callsite-sensitive Control Flow Integrity - EuroS&P'19

Home Page: https://ieeexplore.ieee.org/abstract/document/8806734

License: GNU General Public License v2.0

C 11.89% Objective-C 0.76% C++ 46.34% Makefile 0.05% CMake 0.35% C# 0.01% Python 0.66% Batchfile 0.01% Emacs Lisp 0.01% Objective-C++ 0.22% HTML 0.44% MATLAB 0.01% Forth 0.01% Mercury 0.01% LLVM 28.35% Assembly 10.77% Cuda 0.11% Rust 0.01% Mathematica 0.01% M 0.01%
llvm clang control-flow-integrity symbolic-execution triton

cfi-lb's Introduction

Hi πŸ‘‹, I'm Mustakimur Rahman Khandaker

CyberSecurity Researcher & Educator!

πŸ“ˆ My GitHub Stats

mustakimur's GitHub Stats

cfi-lb's People

Contributors

mustakimur avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cfi-lb's Issues

How can I enable the safestack in this project?

Hello,I tried to add the - fsanitize=safestack option when generating the bc file, but it prompted me that I missed the safestack link library

/usr/bin/ld: error: cannot open /home/n1co5in3/CFI-LB/llvm-project/build/lib/clang/9.0.0/lib/linux/libclang_rt.safestack-x86_64.a: No such file or directory
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

Is that the correct way to enable safestack in this project?

CVE-2018-1000210 High Severity Vulnerability detected by WhiteSource

CVE-2018-1000210 - High Severity Vulnerability

Vulnerable Library - yamldotnet.3.3.0.nupkg

A .NET library for YAML. YamlDotNet provides low level parsing and emitting of YAML as well as a hig...

path: /CFI-LB/llvm-project/clang-tools-extra/clang-tidy-vs/ClangTidy/packages.config

Library home page: https://api.nuget.org/packages/yamldotnet.3.3.0.nupkg

Dependency Hierarchy:

  • ❌ yamldotnet.3.3.0.nupkg (Vulnerable Library)

Vulnerability Details

YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference vulnerability in The default behavior of Deserializer.Deserialize() will deserialize user-controlled types in the line "currentType = Type.GetType(nodeEvent.Tag.Substring(1), throwOnError: false);" and blindly instantiates them. that can result in Code execution in the context of the running process. This attack appear to be exploitable via Victim must parse a specially-crafted YAML file. This vulnerability appears to have been fixed in 5.0.0.

Publish Date: 2018-07-13

URL: CVE-2018-1000210

CVSS 3 Score Details (7.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with WhiteSource here

cannot convert β€˜Z3_context {aka _Z3_context*}’ to β€˜Z3_error_code’ for argument β€˜1’

Hi, this error occurred during installation

/root/autodl-tmp/CFI-LB/llvm-project/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp: In function β€˜void {anonymous}::Z3ErrorHandler(Z3_context, Z3_error_code)’: /root/autodl-tmp/CFI-LB/llvm-project/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp:48:71: error: cannot convert β€˜Z3_context {aka _Z3_context*}’ to β€˜Z3_error_code’ for argument β€˜1’ to β€˜const char* Z3_get_error_msg(Z3_error_code)’ llvm::Twine(Z3_get_error_msg(Context, Error)));

[ 98%] Built target clangStaticAnalyzerCheckers [ 98%] Built target libclang Makefile:151: recipe for target 'all' failed make: *** [all] Error 2

How do I solve it?

WS-2019-0019 Medium Severity Vulnerability detected by WhiteSource

WS-2019-0019 - Medium Severity Vulnerability

Vulnerable Library - braces-1.8.5.tgz

Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces specification.

path: /tmp/git/CFI-LB/llvm-project/lldb/tools/lldb-vscode/node_modules/braces/package.json

Library home page: https://registry.npmjs.org/braces/-/braces-1.8.5.tgz

Dependency Hierarchy:

  • vscode-1.1.10.tgz (Root Library)
    • gulp-symdest-1.1.1.tgz
      • vinyl-fs-2.4.4.tgz
        • glob-stream-5.3.5.tgz
          • micromatch-2.3.11.tgz
            • ❌ braces-1.8.5.tgz (Vulnerable Library)

Vulnerability Details

Version of braces prior to 2.3.1 are vulnerable to Regular Expression Denial of Service (ReDoS). Untrusted input may cause catastrophic backtracking while matching regular expressions. This can cause the application to be unresponsive leading to Denial of Service.

Publish Date: 2019-03-25

URL: WS-2019-0019

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/786

Release Date: 2019-02-21

Fix Resolution: 2.3.1


Step up your Open Source Security Game with WhiteSource here

WS-2019-0047 Medium Severity Vulnerability detected by WhiteSource

WS-2019-0047 - Medium Severity Vulnerability

Vulnerable Library - tar-2.2.1.tgz

tar for node

Library home page: http://registry.npmjs.org/tar/-/tar-2.2.1.tgz

Path to dependency file: /CFI-LB/llvm-project/lldb/tools/lldb-vscode/package.json

Path to vulnerable library: /tmp/git/CFI-LB/llvm-project/lldb/tools/lldb-vscode/node_modules/tar/package.json

Dependency Hierarchy:

  • vscode-1.1.10.tgz (Root Library)
    • gulp-untar-0.0.6.tgz
      • ❌ tar-2.2.1.tgz (Vulnerable Library)

Found in HEAD commit: 2ce31b59ebbe26448653c04f936fe7d96f411472

Vulnerability Details

Versions of node-tar prior to 4.4.2 are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system, and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file.

Publish Date: 2019-04-05

URL: WS-2019-0047

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/803

Release Date: 2019-04-05

Fix Resolution: 4.4.2


Step up your Open Source Security Game with WhiteSource here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.