[SERVER-85263] Report escaped client application name Created: 16/Jan/24  Updated: 22/Jan/24  Resolved: 17/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.1, 7.3.0-rc0, 7.0.6, 5.0.25, 6.0.14

Type: Bug Priority: Major - P3
Reporter: James Bronsted Assignee: James Bronsted
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.2, v7.0, v6.0, v5.0
Sprint: Service Arch 2024-01-22
Participants:

 Description   

The server reports client application names without escaping in serverStatus responses. Ensure that the names are escaped at least before they are serialized to the serverStatus responses, ideally in ClientMetadata so that all current and future uses are escaped.



 Comments   
Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'James Bronsted', 'email': 'james.bronsted@mongodb.com', 'username': 'jpbronsted'}

Message: SERVER-85263 report escaped client application name

(cherry picked from commit fe73bee70f25c77ef5c8f420a4e345301fd0977e)

GitOrigin-RevId: b52bdde5989db35a000df10c1c5d110a028a1167
Branch: v6.0
https://github.com/mongodb/mongo/commit/8b8e7f693eccab2e7342ef61920e8c21cfe2dda4

Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'James Bronsted', 'email': 'james.bronsted@mongodb.com', 'username': 'jpbronsted'}

Message: SERVER-85263 report escaped client application name

(cherry picked from commit fe73bee70f25c77ef5c8f420a4e345301fd0977e)
Branch: v7.2
https://github.com/mongodb/mongo/commit/fc89387fd3c76440b54f5686143647075f3e571f

Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'James Bronsted', 'email': 'james.bronsted@mongodb.com', 'username': 'jpbronsted'}

Message: SERVER-85263 report escaped client application name

(cherry picked from commit fe73bee70f25c77ef5c8f420a4e345301fd0977e)

GitOrigin-RevId: 8aa70811656ea674d34ba5242945dd64ab0705ae
Branch: v7.0
https://github.com/mongodb/mongo/commit/60bb10a0e02ffd286473fb3c15d1ff7d5de8aa5e

Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'James Bronsted', 'email': 'james.bronsted@mongodb.com', 'username': 'jpbronsted'}

Message: SERVER-85263 report escaped client application name

(cherry picked from commit fe73bee70f25c77ef5c8f420a4e345301fd0977e)

GitOrigin-RevId: 158b493d52c5fd6f6732d439357965aa0dd69f50
Branch: v5.0
https://github.com/mongodb/mongo/commit/e38b0b3a33baa822deb591568198337c0cace587

Comment by Githook User [ 16/Jan/24 ]

Author:

{'name': 'James Bronsted', 'email': 'james.bronsted@mongodb.com', 'username': 'jpbronsted'}

Message: SERVER-85263 report escaped client application name

GitOrigin-RevId: fe73bee70f25c77ef5c8f420a4e345301fd0977e
Branch: master
https://github.com/mongodb/mongo/commit/ef17c99ed461b67381b19a6aaa2721b5f0f974fd

Generated at Thu Feb 08 06:57:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.