[Webkit-unassigned] [Bug 263187] New: Make all senstitive $vm properties not enumerable by Object.getOwnPropertyNames.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 16 00:08:28 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=263187

            Bug ID: 263187
           Summary: Make all senstitive $vm properties not enumerable by
                    Object.getOwnPropertyNames.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

$vm functions are not meant to be enumerable.  That's why all of them have the DontEnum attribute.  However, Object.getOwnPropertyNames does not honor this by default.  As a result, this can trip up fuzzers that happens to enumerate it with Object.getOwnPropertyNames.

rdar://112814894

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20231016/9bf342e2/attachment.htm>


More information about the webkit-unassigned mailing list