[Webkit-unassigned] [Bug 263506] New: Make sensitive jsc global namespace properties not enumerable by Object.getOwnPropertyNames.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 21 22:58:55 PDT 2023


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

            Bug ID: 263506
           Summary: Make sensitive jsc global namespace 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

Some functions in the jsc shell GlobalObject are only added as debugging aids.  They are meant to be used carefully under controlled conditions for test development.  Though they are added as DontEnum, Object.getOwnPropertyNames() still enumerates them.  We should filter out all DontEnum properties of this GlobalObject so as not to trip up fuzzers that try to fuzz with Object.getOwnPropertyNames.

rdar://112815258

-- 
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/20231022/72853e91/attachment.htm>


More information about the webkit-unassigned mailing list