Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/aspnetcore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fd5cd43
Choose a base ref
...
head repository: dotnet/aspnetcore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0ceffe0
Choose a head ref
  • 16 commits
  • 11 files changed
  • 5 contributors

Commits on Apr 5, 2022

  1. Configuration menu
    Copy the full SHA
    b038f44 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    a2dbd46 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db1cf47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ca8c2c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df5b35f View commit details
    Browse the repository at this point in the history
  5. Merged PR 21247: Fix partial chunked cookies 70242

    # Fix partial chunked cookies
    
    MSRC # 70242: Fix exceptions and allocations when the cookie chunk count is not accurate
    
    ## Description
    
    Browsers have limits on how long cookies can be, as low as 4kb. It's common for TempData and CookieAuth to get above that limit, so cookies are split into chunks with the following format:
    
    MyCookie=chunks-3
    MyCookieC1=(Base64EncodedData)
    MyCookieC2=(Base64EncodedData)
    MyCookieC3=(Base64EncodedData)
    
    Fixes MSRC # 70242
    
    ## Customer Impact
    
    A malicious client could send `MyCookie=chunks-2147483647` without the actual cookie chunks and cause large allocations, exceptions, and excess CPU utilization on the server when it tried to read or delete that many chunks.
    
    This flaw comes from the original implementation in Microsoft.Owin, but is much worse in AspNetCore when adopted by TempData due to it automatically calling Delete if reading the cookie fails.
    
    I'll backport this to 5.0, 3.1, 2.1, and Microsoft.Owin once reviewed.
    
    ## Regression?
    
    - [ ] Yes
    - [x] No
    
    ## Risk
    
    - [ ] High
    - [ ] Medium
    - [x] Low
    
    Easy to reproduce and test.
    
    ## Verification
    
    - [x] Manual (required)
    - [x] Automated
    
    ## Packaging changes reviewed?
    
    - [ ] Yes
    - [ ] No
    - [x] N/A
    Tratcher committed Apr 6, 2022
    Configuration menu
    Copy the full SHA
    1e1c891 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Merged PR 21240: [6.0] MSRC 70023 - ASP.Net FormFeature.cs - DenialOf…

    …Service
    
    # ASP.Net FormFeature.cs - DenialOfService
    
    When parsing multi-part form data with FormFeature.cs, we do not honor ValueCountLimit when the content disposition is of an unknown type. Therefore an attacker could send multi-part form data where very part has invalid content disposition, and make us read indefinitely.
    
    ## Description
    
    When parsing multi-part form data with FormFeature.cs, we do not honor ValueCountLimit when the content disposition is of an unknown type. Therefore an attacker could send multi-part form data where very part has invalid content disposition, and make us read indefinitely.
    
    ## Customer Impact
    
    Prevents a potential Denial-of-service attack.
    
    ## Regression?
    
    - [ ] Yes
    - [x] No
    
    ## Risk
    
    - [ ] High
    - [x] Medium
    - [ ] Low
    
    We could have missed another potential version of this vulnerability
    
    ## Verification
    
    - [x] Manual (required)
    - [x] Automated
    
    Added a test, plus confirmed with a local repro that the pre-existing slowdown goes away after the change.
    
    ## Packaging changes reviewed?
    
    - [ ] Yes
    - [ ] No
    - [x] N/A
    
    ----
    
    ## When servicing release/2.1
    
    - [ ] Make necessary changes in eng/PatchConfig.props
    wtgodbe committed Apr 8, 2022
    Configuration menu
    Copy the full SHA
    108c221 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    2546c1e View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Configuration menu
    Copy the full SHA
    44718f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c882697 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ded8e36 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. [internal/release/6.0] Update dependencies from dnceng/internal/dotne…

    …t-efcore dnceng/internal/dotnet-runtime
    
     - Updated helix.proj to IsPublicRuntime=false
    dotnet-bot committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    dd34abd View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Configuration menu
    Copy the full SHA
    e5f183b View commit details
    Browse the repository at this point in the history

Commits on May 10, 2022

  1. Merge commit 'e5f183b656a0e8bc087108130a5a9b54ae94494e' into internal…

    …-merge-6.0-2022-05-10-1209
    vseanreesermsft committed May 10, 2022
    Configuration menu
    Copy the full SHA
    a9b18e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3803c1f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #41611 from vseanreesermsft/internal-merge-6.0-202…

    …2-05-10-1209
    
    Merging internal commits for release/6.0
    wtgodbe authored May 10, 2022
    Configuration menu
    Copy the full SHA
    0ceffe0 View commit details
    Browse the repository at this point in the history
Loading