Closed Bug 1635332 Opened 5 years ago Closed 5 years ago

[SECURITY] Upgrade Mojolicous to 8.42

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: dkl)

Details

Attachments

(1 file)

https://github.com/mojolicious/mojo/compare/9353f520d205...3c1c99a7131a

 8.42  2020-05-04
  - This release contains fixes for security issues, everybody should upgrade!
  - Added EXPERIMENTAL support for :any-link pseudo-class to Mojo::DOM::CSS.
  - Added EXPERIMENTAL support for case-sensitive attribute selectors like
    [foo="bar" s] to Mojo::DOM::CSS
  - Renamed experimental :matches pseudo-class to :is in Mojo::DOM::CSS.
  - Fixed a security issue that allowed for _method query parameters to be used
    with GET requests.
  - Fixed a bug in Mojo::DOM::CSS where the case-sensitivity identifier was
    case-sensitive.
Assignee: nobody → dkl
Status: NEW → ASSIGNED
Attached patch 1635332_1.patchSplinter Review
Attachment #9145953 - Flags: review?(glob)
Comment on attachment 9145953 [details] [diff] [review] 1635332_1.patch Review of attachment 9145953 [details] [diff] [review]: ----------------------------------------------------------------- ::: Bugzilla/App/Plugin/OAuth2.pm @@ +82,5 @@ > my ($c, $client_id, $scopes_ref) > = @args{qw/ mojo_controller client_id scopes /}; > > + $c->bugzilla->login(LOGIN_REQUIRED) || return undef; > + This appears to be unrelated to the Mojo update.
Attachment #9145953 - Flags: review?(glob) → review-

(In reply to Byron Jones ‹:glob› 🎈 from comment #2)

Comment on attachment 9145953 [details] [diff] [review]
1635332_1.patch

Review of attachment 9145953 [details] [diff] [review]:

::: Bugzilla/App/Plugin/OAuth2.pm
@@ +82,5 @@

my ($c, $client_id, $scopes_ref)
= @args{qw/ mojo_controller client_id scopes /};

  • $c->bugzilla->login(LOGIN_REQUIRED) || return undef;

This appears to be unrelated to the Mojo update.

Updating to Mojo 8.42 caused failure in t/mojo-oauth2.t with a foreign key exception when calling issue_session_token() in Token.pm. It was happening during the confirm_oauth_scopes stage of the workflow. issue_session_token() was trying to insert a userid of 0 which meant the user was logged out instead of being logged in during that stage. Adding call to ->login fixed the issue and allow the test to pass.

Comment on attachment 9145953 [details] [diff] [review] 1635332_1.patch Review of attachment 9145953 [details] [diff] [review]: ----------------------------------------------------------------- r=glob
Attachment #9145953 - Flags: review- → review+

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Group: bugzilla-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: